#5B1C5B

Closest named color: Grape Purple (#5D1451). oklch(35.3% 0.123 327.8), rgb(91, 28, 91).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.76:1
White text11.91:1

Values

HEX#5B1C5B
RGBrgb(91, 28, 91)
HSLhsl(300, 53%, 23%)
OKLCHoklch(35.3% 0.123 327.8)

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 #5B1C5B 11.91:1 AAA Lc -100.3 Preferred for body text
Black text on #5B1C5B 1.76:1 Fails Lc 7.3 Not readable
#5B1C5B text on white 11.91:1 AAA Lc 96.6 Preferred for body text
#5B1C5B text on black 1.76: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

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #ECCEEB

    oklch(88.5% 0.051 327)

  4. Step 300

    300

    #E2ACDF

    oklch(81% 0.092 328.2)

  5. Step 400

    400

    #D17DCF

    oklch(70.7% 0.147 327.8)

  6. Step 500

    500

    #C357C2

    oklch(63.1% 0.189 327.9)

  7. Step 600

    600

    #AE37AF

    oklch(55.6% 0.205 327.6)

  8. Step 700

    700

    #962796

    oklch(49.2% 0.192 328)

  9. Step 800

    800

    #7A237A

    oklch(42.8% 0.159 327.9)

  10. Step 900

    900 (this color)

    #5B1C5B

    oklch(35.3% 0.123 327.8)

  11. Step 950

    950

    #3A1639

    oklch(27% 0.077 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B1C5B 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)#13325D0.129
Deuteranopia (no green cones)#2B3A590.111
Tritanopia (no blue cones)#5E24390.068
Achromatopsia (no color)#3737370.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B1C5B

    #5B1C5B

    oklch(35.3% 0.123 327.8)

  • #004918

    #004918

    oklch(35.3% 0.103 147.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B1C5B

    #5B1C5B

    oklch(35.3% 0.123 327.8)

  • #442772

    #442772

    oklch(35.2% 0.124 297.5)

  • #69133B

    #69133B

    oklch(35.2% 0.124 357.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B1C5B

    #5B1C5B

    oklch(35.3% 0.123 327.8)

  • #384000

    #384000

    oklch(35.2% 0.081 117.4)

  • #00463B

    #00463B

    oklch(35.3% 0.065 177.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B1C5B

    #5B1C5B

    oklch(35.3% 0.123 327.8)

  • #4B3800

    #4B3800

    oklch(35.2% 0.072 87.3)

  • #00444C

    #00444C

    oklch(35.4% 0.061 208)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B1C5B

    #5B1C5B

    oklch(35.3% 0.123 327.8)

  • #5B2E00

    #5B2E00

    oklch(35.3% 0.084 58.2)

  • #004918

    #004918

    oklch(35.3% 0.103 147.8)

  • #00405F

    #00405F

    oklch(35.3% 0.078 238.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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