#5D1B5E

Closest named color: Grape Purple (#5D1451). oklch(35.6% 0.129 327.2), rgb(93, 27, 94).

Aa

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

About this color

#5D1B5E is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.129 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.024 away. White text reads best on it, at 11.77:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.78:1
White text11.77:1

Values

HEX#5D1B5E
RGBrgb(93, 27, 94)
HSLhsl(299, 55%, 24%)
OKLCHoklch(35.6% 0.129 327.2)

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 #5D1B5E 11.77:1 AAA Lc -100.0 Preferred for body text
Black text on #5D1B5E 1.78:1 Fails Lc 7.7 Not readable
#5D1B5E text on white 11.77:1 AAA Lc 96.2 Preferred for body text
#5D1B5E text on black 1.78:1 Fails Lc 0.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 900.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F5E4F4

    oklch(93.7% 0.028 327.6)

  3. Step 200

    200

    #EDCDEC

    oklch(88.4% 0.054 327)

  4. Step 300

    300

    #E2ABE1

    oklch(80.9% 0.096 327)

  5. Step 400

    400

    #D27BD2

    oklch(70.7% 0.154 327.1)

  6. Step 500

    500

    #C554C6

    oklch(63.2% 0.198 327.3)

  7. Step 600

    600

    #B032B2

    oklch(55.6% 0.214 327.3)

  8. Step 700

    700

    #972299

    oklch(49.1% 0.199 327.3)

  9. Step 800

    800

    #7B207C

    oklch(42.8% 0.165 327.5)

  10. Step 900

    900 (this color)

    #5D1B5E

    oklch(35.6% 0.129 327.2)

  11. Step 950

    950

    #3A153B

    oklch(27% 0.082 326.5)

Export this scale for Tailwind in the Tailwind colors tool

#5D1B5E 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)#1032600.135
Deuteranopia (no green cones)#2B3B5C0.115
Tritanopia (no blue cones)#60253A0.073
Achromatopsia (no color)#3838380.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D1B5E

    #5D1B5E

    oklch(35.6% 0.129 327.2)

  • #004A17

    #004A17

    oklch(35.7% 0.105 147.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D1B5E

    #5D1B5E

    oklch(35.6% 0.129 327.2)

  • #452776

    #452776

    oklch(35.7% 0.129 296.8)

  • #6C113D

    #6C113D

    oklch(35.7% 0.129 357.2)

Open the analogous palette in the generator

Split complementary

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

  • #5D1B5E

    #5D1B5E

    oklch(35.6% 0.129 327.2)

  • #394100

    #394100

    oklch(35.5% 0.082 117.3)

  • #00473C

    #00473C

    oklch(35.6% 0.066 178)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D1B5E

    #5D1B5E

    oklch(35.6% 0.129 327.2)

  • #4C3900

    #4C3900

    oklch(35.6% 0.073 87.6)

  • #00454C

    #00454C

    oklch(35.7% 0.061 206.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D1B5E

    #5D1B5E

    oklch(35.6% 0.129 327.2)

  • #5D2E00

    #5D2E00

    oklch(35.7% 0.086 56.8)

  • #004A17

    #004A17

    oklch(35.7% 0.105 147.3)

  • #004160

    #004160

    oklch(35.6% 0.079 237.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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