#6C478A

Closest named color: Twilight (#4E518B). oklch(46.9% 0.112 308.1), rgb(108, 71, 138).

Aa

White text reads best on this color (7.22:1).

About this color

#6C478A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.112 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.054 away. White text reads best on it, at 7.22:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.90:1
White text7.22:1

Values

HEX#6C478A
RGBrgb(108, 71, 138)
HSLhsl(273, 32%, 41%)
OKLCHoklch(46.9% 0.112 308.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #6C478A 7.22:1 AAA Lc -89.8 Fine for body text
Black text on #6C478A 2.90:1 Fails Lc 19.1 Dividers and decoration only
#6C478A text on white 7.22:1 AAA Lc 84.9 Fine for body text
#6C478A text on black 2.90:1 Fails Lc -17.1 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #DFD4E9

    oklch(88.5% 0.031 309.1)

  4. Step 300

    300

    #CAB8DC

    oklch(80.9% 0.054 307.7)

  5. Step 400

    400

    #B092CA

    oklch(70.7% 0.086 308.7)

  6. Step 500

    500

    #9C76BD

    oklch(63% 0.111 308.1)

  7. Step 600

    600

    #875EA9

    oklch(55.6% 0.12 308.1)

  8. Step 700

    700 (this color)

    #6C478A

    oklch(46.9% 0.112 308.1)

  9. Step 800

    800

    #5D4076

    oklch(42.8% 0.092 307.7)

  10. Step 900

    900

    #4C365F

    oklch(37.6% 0.073 307.9)

  11. Step 950

    950

    #2D2038

    oklch(27.1% 0.047 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#6C478A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#36558C0.086
Deuteranopia (no green cones)#4057880.078
Tritanopia (no blue cones)#6852620.080
Achromatopsia (no color)#5757570.112

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #6C478A

    #6C478A

    oklch(46.9% 0.112 308.1)

  • #486614

    #486614

    oklch(47% 0.112 128.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C478A

    #6C478A

    oklch(46.9% 0.112 308.1)

  • #4D5298

    #4D5298

    oklch(46.9% 0.112 278.1)

  • #813F70

    #813F70

    oklch(46.9% 0.111 337.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #6C478A

    #6C478A

    oklch(46.9% 0.112 308.1)

  • #695A00

    #695A00

    oklch(46.8% 0.097 97.9)

  • #006C42

    #006C42

    oklch(46.8% 0.109 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C478A

    #6C478A

    oklch(46.9% 0.112 308.1)

  • #7F4E00

    #7F4E00

    oklch(46.9% 0.102 68.9)

  • #006963

    #006963

    oklch(46.9% 0.082 187.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C478A

    #6C478A

    oklch(46.9% 0.112 308.1)

  • #8D4028

    #8D4028

    oklch(46.8% 0.111 37.9)

  • #486614

    #486614

    oklch(47% 0.112 128.1)

  • #00657A

    #00657A

    oklch(46.8% 0.084 218.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #6C478A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #6C478A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.