#5E4170

Closest named color: Dusk (#4E5481). oklch(42.7% 0.083 311.6), rgb(94, 65, 112).

Aa

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

About this color

#5E4170 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.083 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.057 away. White text reads best on it, at 8.51:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text2.46:1
White text8.51:1

Values

HEX#5E4170
RGBrgb(94, 65, 112)
HSLhsl(277, 27%, 35%)
OKLCHoklch(42.7% 0.083 311.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 #5E4170 8.51:1 AAA Lc -93.7 Preferred for body text
Black text on #5E4170 2.46:1 Fails Lc 14.8 Not readable
#5E4170 text on white 8.51:1 AAA Lc 89.2 Fine for body text
#5E4170 text on black 2.46:1 Fails Lc -13.0 Not readable

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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD4E6

    oklch(88.4% 0.027 312.6)

  4. Step 300

    300

    #CBB8D8

    oklch(80.9% 0.049 311.7)

  5. Step 400

    400

    #B193C4

    oklch(70.7% 0.077 312.1)

  6. Step 500

    500

    #9D78B5

    oklch(63.1% 0.098 311.5)

  7. Step 600

    600

    #8860A1

    oklch(55.6% 0.107 311.6)

  8. Step 700

    700

    #734F8A

    oklch(49.1% 0.1 311.2)

  9. Step 800

    800 (this color)

    #5E4170

    oklch(42.7% 0.083 311.6)

  10. Step 900

    900

    #4D375B

    oklch(37.7% 0.066 311.5)

  11. Step 950

    950

    #2D2135

    oklch(27.1% 0.04 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#5E4170 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)#384B720.064
Deuteranopia (no green cones)#3F4D6F0.059
Tritanopia (no blue cones)#5C48530.058
Achromatopsia (no color)#4D4D4D0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E4170

    #5E4170

    oklch(42.7% 0.083 311.6)

  • #3E5825

    #3E5825

    oklch(42.7% 0.083 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E4170

    #5E4170

    oklch(42.7% 0.083 311.6)

  • #48497B

    #48497B

    oklch(42.8% 0.082 281.5)

  • #6D3C5C

    #6D3C5C

    oklch(42.8% 0.082 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #5E4170

    #5E4170

    oklch(42.7% 0.083 311.6)

  • #59500E

    #59500E

    oklch(42.8% 0.082 101.1)

  • #185D41

    #185D41

    oklch(42.8% 0.082 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E4170

    #5E4170

    oklch(42.7% 0.083 311.6)

  • #6B4611

    #6B4611

    oklch(42.7% 0.083 70.9)

  • #005C59

    #005C59

    oklch(42.9% 0.074 190.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E4170

    #5E4170

    oklch(42.7% 0.083 311.6)

  • #743E29

    #743E29

    oklch(42.6% 0.082 41.6)

  • #3E5825

    #3E5825

    oklch(42.7% 0.083 131.5)

  • #00586E

    #00586E

    oklch(42.7% 0.079 222.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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