#5D4E81

Closest named color: Dusk (#4E5481). oklch(46.1% 0.083 296.6), rgb(93, 78, 129).

Aa

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

About this color

#5D4E81 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.083 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.028 away. White text reads best on it, at 7.31:1.

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

Values

HEX#5D4E81
RGBrgb(93, 78, 129)
HSLhsl(258, 25%, 41%)
OKLCHoklch(46.1% 0.083 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 #5D4E81 7.31:1 AAA Lc -90.2 Preferred for body text
Black text on #5D4E81 2.87:1 Fails Lc 18.7 Dividers and decoration only
#5D4E81 text on white 7.31:1 AAA Lc 85.3 Fine for body text
#5D4E81 text on black 2.87:1 Fails Lc -16.7 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F1

    oklch(93.5% 0.012 296.3)

  3. Step 200

    200

    #DAD6E6

    oklch(88.4% 0.022 297.4)

  4. Step 300

    300

    #C3BCD8

    oklch(81% 0.04 296.9)

  5. Step 400

    400

    #A499C4

    oklch(70.7% 0.063 296.5)

  6. Step 500

    500

    #8E7FB5

    oklch(63% 0.081 296.8)

  7. Step 600

    600

    #7868A1

    oklch(55.6% 0.088 296.3)

  8. Step 700

    700 (this color)

    #5D4E81

    oklch(46.1% 0.083 296.6)

  9. Step 800

    800

    #534770

    oklch(42.8% 0.068 296.9)

  10. Step 900

    900

    #443C5B

    oklch(37.8% 0.053 295.6)

  11. Step 950

    950

    #282335

    oklch(27% 0.034 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#5D4E81 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)#4057830.047
Deuteranopia (no green cones)#4356800.044
Tritanopia (no blue cones)#5657610.067
Achromatopsia (no color)#5656560.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D4E81

    #5D4E81

    oklch(46.1% 0.083 296.6)

  • #565E23

    #565E23

    oklch(46.1% 0.082 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D4E81

    #5D4E81

    oklch(46.1% 0.083 296.6)

  • #435687

    #435687

    oklch(46% 0.084 267)

  • #704771

    #704771

    oklch(46.1% 0.083 326)

Open the analogous palette in the generator

Split complementary

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

  • #5D4E81

    #5D4E81

    oklch(46.1% 0.083 296.6)

  • #6C5518

    #6C5518

    oklch(46.1% 0.082 87.3)

  • #37653C

    #37653C

    oklch(46.2% 0.083 146.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D4E81

    #5D4E81

    oklch(46.1% 0.083 296.6)

  • #7B4B26

    #7B4B26

    oklch(46.1% 0.083 56.4)

  • #0B6757

    #0B6757

    oklch(46.1% 0.083 176.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D4E81

    #5D4E81

    oklch(46.1% 0.083 296.6)

  • #80453F

    #80453F

    oklch(46.1% 0.082 26.8)

  • #565E23

    #565E23

    oklch(46.1% 0.082 116.2)

  • #00646E

    #00646E

    oklch(46% 0.079 206.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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