#5D406A

Closest named color: Dusk (#4E5481). oklch(42.1% 0.076 314.9), rgb(93, 64, 106).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text2.40:1
White text8.72:1

Values

HEX#5D406A
RGBrgb(93, 64, 106)
HSLhsl(281, 25%, 33%)
OKLCHoklch(42.1% 0.076 314.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 #5D406A 8.72:1 AAA Lc -94.3 Preferred for body text
Black text on #5D406A 2.40:1 Fails Lc 14.2 Not readable
#5D406A text on white 8.72:1 AAA Lc 89.8 Fine for body text
#5D406A text on black 2.40:1 Fails Lc -12.5 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE7F0

    oklch(93.5% 0.014 314.8)

  3. Step 200

    200

    #DFD5E5

    oklch(88.6% 0.024 313.1)

  4. Step 300

    300

    #CCB8D5

    oklch(80.8% 0.046 315.4)

  5. Step 400

    400

    #B294C0

    oklch(70.9% 0.071 314.9)

  6. Step 500

    500

    #9E78B0

    oklch(63% 0.092 314.6)

  7. Step 600

    600

    #89619B

    oklch(55.6% 0.098 314.9)

  8. Step 700

    700

    #745085

    oklch(49.1% 0.092 314.4)

  9. Step 800

    800 (this color)

    #5D406A

    oklch(42.1% 0.076 314.9)

  10. Step 900

    900

    #4D3857

    oklch(37.7% 0.058 314.5)

  11. Step 950

    950

    #2D2133

    oklch(27% 0.037 314.2)

Export this scale for Tailwind in the Tailwind colors tool

#5D406A 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)#39496C0.061
Deuteranopia (no green cones)#404C690.057
Tritanopia (no blue cones)#5C46500.052
Achromatopsia (no color)#4B4B4B0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D406A

    #5D406A

    oklch(42.1% 0.076 314.9)

  • #3B572A

    #3B572A

    oklch(42.3% 0.077 134.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D406A

    #5D406A

    oklch(42.1% 0.076 314.9)

  • #494775

    #494775

    oklch(42.1% 0.076 284.6)

  • #6B3B57

    #6B3B57

    oklch(42.1% 0.078 345)

Open the analogous palette in the generator

Split complementary

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

  • #5D406A

    #5D406A

    oklch(42.1% 0.076 314.9)

  • #544F16

    #544F16

    oklch(42% 0.076 104.3)

  • #195A43

    #195A43

    oklch(42% 0.076 165.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D406A

    #5D406A

    oklch(42.1% 0.076 314.9)

  • #664716

    #664716

    oklch(42.3% 0.076 74.9)

  • #005959

    #005959

    oklch(42% 0.072 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D406A

    #5D406A

    oklch(42.1% 0.076 314.9)

  • #6F3F28

    #6F3F28

    oklch(42.1% 0.076 45.7)

  • #3B572A

    #3B572A

    oklch(42.3% 0.077 134.7)

  • #0A566D

    #0A566D

    oklch(42.2% 0.076 225)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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