#5B0D52

Closest named color: Grape Purple (#5D1451). oklch(33.3% 0.134 333.6), rgb(91, 13, 82).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.62:1
White text12.92:1

Values

HEX#5B0D52
RGBrgb(91, 13, 82)
HSLhsl(307, 75%, 20%)
OKLCHoklch(33.3% 0.134 333.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 #5B0D52 12.92:1 AAA Lc -101.4 Preferred for body text
Black text on #5B0D52 1.62:1 Fails Lc 0.0 Not readable
#5B0D52 text on white 12.92:1 AAA Lc 97.9 Preferred for body text
#5B0D52 text on black 1.62: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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F1CCE9

    oklch(88.5% 0.056 333.6)

  4. Step 300

    300

    #E9A8DC

    oklch(80.9% 0.102 333.8)

  5. Step 400

    400

    #DB77CA

    oklch(70.8% 0.16 333.8)

  6. Step 500

    500

    #CE4DBC

    oklch(63.1% 0.205 333.6)

  7. Step 600

    600

    #B926A8

    oklch(55.5% 0.223 333.6)

  8. Step 700

    700

    #9F1490

    oklch(49% 0.208 333.6)

  9. Step 800

    800

    #811775

    oklch(42.6% 0.172 333.5)

  10. Step 900

    900 (this color)

    #5B0D52

    oklch(33.3% 0.134 333.6)

  11. Step 950

    950

    #3D1337

    oklch(27% 0.083 333.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B0D52 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)#092A540.149
Deuteranopia (no green cones)#2935500.125
Tritanopia (no blue cones)#60162F0.070
Achromatopsia (no color)#3131310.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B0D52

    #5B0D52

    oklch(33.3% 0.134 333.6)

  • #004220

    #004220

    oklch(33.2% 0.085 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B0D52

    #5B0D52

    oklch(33.3% 0.134 333.6)

  • #461B6D

    #461B6D

    oklch(33.4% 0.135 303.8)

  • #68002F

    #68002F

    oklch(33.3% 0.134 3.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B0D52

    #5B0D52

    oklch(33.3% 0.134 333.6)

  • #2E3C00

    #2E3C00

    oklch(33.2% 0.081 123.1)

  • #004039

    #004039

    oklch(33.4% 0.059 182.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B0D52

    #5B0D52

    oklch(33.3% 0.134 333.6)

  • #423500

    #423500

    oklch(33.3% 0.068 93.7)

  • #003E48

    #003E48

    oklch(33.4% 0.058 212.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B0D52

    #5B0D52

    oklch(33.3% 0.134 333.6)

  • #502C00

    #502C00

    oklch(33.2% 0.075 64.1)

  • #004220

    #004220

    oklch(33.2% 0.085 153.4)

  • #00395C

    #00395C

    oklch(33.2% 0.081 243.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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