#5C4D9A

Closest named color: Twilight (#4E518B). oklch(47.3% 0.121 289.9), rgb(92, 77, 154).

Aa

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

About this color

#5C4D9A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.121 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.036 away. White text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.121)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.98:1
White text7.03:1

Values

HEX#5C4D9A
RGBrgb(92, 77, 154)
HSLhsl(252, 33%, 45%)
OKLCHoklch(47.3% 0.121 289.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 #5C4D9A 7.03:1 AAA Lc -89.2 Fine for body text
Black text on #5C4D9A 2.98:1 Fails Lc 19.8 Dividers and decoration only
#5C4D9A text on white 7.03:1 AAA Lc 84.2 Fine for body text
#5C4D9A text on black 2.98:1 Fails Lc -17.8 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D8D6EE

    oklch(88.5% 0.033 289.5)

  4. Step 300

    300

    #BFBBE5

    oklch(80.9% 0.059 289.4)

  5. Step 400

    400

    #9F97D7

    oklch(70.7% 0.093 289.5)

  6. Step 500

    500

    #897CCC

    oklch(63.1% 0.119 290)

  7. Step 600

    600

    #7364B9

    oklch(55.6% 0.129 289.6)

  8. Step 700

    700 (this color)

    #5C4D9A

    oklch(47.3% 0.121 289.9)

  9. Step 800

    800

    #4F4481

    oklch(42.8% 0.099 289.9)

  10. Step 900

    900

    #413968

    oklch(37.6% 0.079 289.9)

  11. Step 950

    950

    #26223D

    oklch(27% 0.049 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#5C4D9A 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)#2F5A9D0.064
Deuteranopia (no green cones)#3057980.062
Tritanopia (no blue cones)#4B5D6C0.101
Achromatopsia (no color)#5959590.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C4D9A

    #5C4D9A

    oklch(47.3% 0.121 289.9)

  • #606000

    #606000

    oklch(47.3% 0.103 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C4D9A

    #5C4D9A

    oklch(47.3% 0.121 289.9)

  • #305A9F

    #305A9F

    oklch(47.4% 0.121 259.8)

  • #794285

    #794285

    oklch(47.3% 0.121 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #5C4D9A

    #5C4D9A

    oklch(47.3% 0.121 289.9)

  • #785400

    #785400

    oklch(47.2% 0.098 79.9)

  • #326B24

    #326B24

    oklch(47.3% 0.12 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C4D9A

    #5C4D9A

    oklch(47.3% 0.121 289.9)

  • #8F4308

    #8F4308

    oklch(47.3% 0.12 50.3)

  • #006C53

    #006C53

    oklch(47.2% 0.094 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C4D9A

    #5C4D9A

    oklch(47.3% 0.121 289.9)

  • #933A3F

    #933A3F

    oklch(47.2% 0.12 19.6)

  • #606000

    #606000

    oklch(47.3% 0.103 109.8)

  • #00696D

    #00696D

    oklch(47.3% 0.08 199.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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