#6C478D

Closest named color: Twilight (#4E518B). oklch(47.1% 0.115 306.9), rgb(108, 71, 141).

Aa

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

About this color

#6C478D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.115 and its hue 307°. 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.18:1.

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

Values

HEX#6C478D
RGBrgb(108, 71, 141)
HSLhsl(272, 33%, 42%)
OKLCHoklch(47.1% 0.115 306.9)

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 #6C478D 7.18:1 AAA Lc -89.6 Fine for body text
Black text on #6C478D 2.92:1 Fails Lc 19.3 Dividers and decoration only
#6C478D text on white 7.18:1 AAA Lc 84.7 Fine for body text
#6C478D text on black 2.92:1 Fails Lc -17.3 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

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DED4EA

    oklch(88.5% 0.032 306.2)

  4. Step 300

    300

    #CAB8DD

    oklch(81% 0.055 307.1)

  5. Step 400

    400

    #AF92CD

    oklch(70.7% 0.09 306.7)

  6. Step 500

    500

    #9C76BF

    oklch(63.1% 0.114 307.3)

  7. Step 600

    600

    #865EAC

    oklch(55.6% 0.124 306.4)

  8. Step 700

    700 (this color)

    #6C478D

    oklch(47.1% 0.115 306.9)

  9. Step 800

    800

    #5D3F78

    oklch(42.7% 0.097 307)

  10. Step 900

    900

    #4C3660

    oklch(37.7% 0.074 307.3)

  11. Step 950

    950

    #2C2038

    oklch(26.9% 0.046 306.5)

Export this scale for Tailwind in the Tailwind colors tool

#6C478D 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)#34568F0.088
Deuteranopia (no green cones)#3E588B0.081
Tritanopia (no blue cones)#6753630.085
Achromatopsia (no color)#5757570.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C478D

    #6C478D

    oklch(47.1% 0.115 306.9)

  • #49660C

    #49660C

    oklch(47% 0.116 127.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C478D

    #6C478D

    oklch(47.1% 0.115 306.9)

  • #4C529A

    #4C529A

    oklch(47% 0.115 277.4)

  • #823E72

    #823E72

    oklch(47% 0.115 337)

Open the analogous palette in the generator

Split complementary

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

  • #6C478D

    #6C478D

    oklch(47.1% 0.115 306.9)

  • #6B5A00

    #6B5A00

    oklch(47% 0.097 96.3)

  • #006D40

    #006D40

    oklch(47% 0.112 156.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C478D

    #6C478D

    oklch(47.1% 0.115 306.9)

  • #814D00

    #814D00

    oklch(47% 0.104 66.7)

  • #006A63

    #006A63

    oklch(47.2% 0.082 186.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C478D

    #6C478D

    oklch(47.1% 0.115 306.9)

  • #903F28

    #903F28

    oklch(47.1% 0.116 36.7)

  • #49660C

    #49660C

    oklch(47% 0.116 127.1)

  • #00667A

    #00667A

    oklch(47.1% 0.084 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6C478D 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.