#6C478E

Closest named color: Rebecca Purple (#663399). oklch(47.1% 0.117 306.5), rgb(108, 71, 142).

Aa

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

About this color

#6C478E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.117 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.054 away. White text reads best on it, at 7.16:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.92:1
White text7.16:1

Values

HEX#6C478E
RGBrgb(108, 71, 142)
HSLhsl(271, 33%, 42%)
OKLCHoklch(47.1% 0.117 306.5)

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 #6C478E 7.16:1 AAA Lc -89.6 Fine for body text
Black text on #6C478E 2.92:1 Fails Lc 19.4 Dividers and decoration only
#6C478E text on white 7.16:1 AAA Lc 84.7 Fine for body text
#6C478E 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DED4EA

    oklch(88.5% 0.032 306.2)

  4. Step 300

    300

    #CAB8DE

    oklch(81% 0.056 306.6)

  5. Step 400

    400

    #AF92CD

    oklch(70.7% 0.09 306.7)

  6. Step 500

    500

    #9B76C0

    oklch(63.1% 0.115 306.4)

  7. Step 600

    600

    #865DAD

    oklch(55.5% 0.127 306.3)

  8. Step 700

    700 (this color)

    #6C478E

    oklch(47.1% 0.117 306.5)

  9. Step 800

    800

    #5D3F78

    oklch(42.7% 0.097 307)

  10. Step 900

    900

    #4C3661

    oklch(37.7% 0.076 306.7)

  11. Step 950

    950

    #2C2039

    oklch(27% 0.048 305.5)

Export this scale for Tailwind in the Tailwind colors tool

#6C478E 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)#3456900.088
Deuteranopia (no green cones)#3E588C0.081
Tritanopia (no blue cones)#6753640.085
Achromatopsia (no color)#5858580.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C478E

    #6C478E

    oklch(47.1% 0.117 306.5)

  • #4A6608

    #4A6608

    oklch(47.1% 0.117 126.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C478E

    #6C478E

    oklch(47.1% 0.117 306.5)

  • #4B539B

    #4B539B

    oklch(47.2% 0.116 276.2)

  • #833E73

    #833E73

    oklch(47.1% 0.117 336.9)

Open the analogous palette in the generator

Split complementary

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

  • #6C478E

    #6C478E

    oklch(47.1% 0.117 306.5)

  • #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.

  • #6C478E

    #6C478E

    oklch(47.1% 0.117 306.5)

  • #824D00

    #824D00

    oklch(47.1% 0.105 66.1)

  • #006A62

    #006A62

    oklch(47.2% 0.083 185.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C478E

    #6C478E

    oklch(47.1% 0.117 306.5)

  • #913F28

    #913F28

    oklch(47.2% 0.117 36.5)

  • #4A6608

    #4A6608

    oklch(47.1% 0.117 126.4)

  • #006679

    #006679

    oklch(47% 0.084 216.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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