#5C4E7E

Closest named color: Dusk (#4E5481). oklch(45.9% 0.078 296.6), rgb(92, 78, 126).

Aa

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

About this color

#5C4E7E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.078 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.026 away. White text reads best on it, at 7.37:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text2.84:1
White text7.37:1

Values

HEX#5C4E7E
RGBrgb(92, 78, 126)
HSLhsl(257, 24%, 40%)
OKLCHoklch(45.9% 0.078 296.6)

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 #5C4E7E 7.37:1 AAA Lc -90.4 Preferred for body text
Black text on #5C4E7E 2.84:1 Fails Lc 18.4 Dividers and decoration only
#5C4E7E text on white 7.37:1 AAA Lc 85.6 Fine for body text
#5C4E7E text on black 2.84:1 Fails Lc -16.5 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 800.

  1. Step 50

    50

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E8

    oklch(88.5% 0.025 296.1)

  4. Step 300

    300

    #C3BBDB

    oklch(80.9% 0.045 296.8)

  5. Step 400

    400

    #A598C9

    oklch(70.8% 0.072 296.7)

  6. Step 500

    500

    #8F7DBB

    oklch(63% 0.093 297)

  7. Step 600

    600

    #7966A7

    oklch(55.6% 0.1 296.4)

  8. Step 700

    700

    #665490

    oklch(49% 0.095 296.5)

  9. Step 800

    800 (this color)

    #5C4E7E

    oklch(45.9% 0.078 296.6)

  10. Step 900

    900

    #453A5E

    oklch(37.6% 0.062 297.4)

  11. Step 950

    950

    #282237

    oklch(26.9% 0.039 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#5C4E7E 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)#4256800.043
Deuteranopia (no green cones)#44557D0.040
Tritanopia (no blue cones)#5556600.063
Achromatopsia (no color)#5656560.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C4E7E

    #5C4E7E

    oklch(45.9% 0.078 296.6)

  • #555D26

    #555D26

    oklch(45.8% 0.078 116.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C4E7E

    #5C4E7E

    oklch(45.9% 0.078 296.6)

  • #445683

    #445683

    oklch(45.9% 0.077 266.8)

  • #6E486F

    #6E486F

    oklch(45.9% 0.077 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #5C4E7E

    #5C4E7E

    oklch(45.9% 0.078 296.6)

  • #6B541D

    #6B541D

    oklch(45.8% 0.078 85.8)

  • #38633D

    #38633D

    oklch(45.7% 0.078 146.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C4E7E

    #5C4E7E

    oklch(45.9% 0.078 296.6)

  • #784C29

    #784C29

    oklch(45.9% 0.078 57.7)

  • #166656

    #166656

    oklch(46% 0.079 175.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C4E7E

    #5C4E7E

    oklch(45.9% 0.078 296.6)

  • #7E4640

    #7E4640

    oklch(46% 0.078 27)

  • #555D26

    #555D26

    oklch(45.8% 0.078 116.5)

  • #02646D

    #02646D

    oklch(46% 0.078 205.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5C4E7E 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.