#5B1385

Closest named color: Indigo (#4B0082). oklch(37.5% 0.173 308.3), rgb(91, 19, 133).

Aa

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

About this color

#5B1385 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.173 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.042 away. White text reads best on it, at 11.19:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.173)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.87:1
White text11.19:1

Values

HEX#5B1385
RGBrgb(91, 19, 133)
HSLhsl(278, 75%, 30%)
OKLCHoklch(37.5% 0.173 308.3)

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 #5B1385 11.19:1 AAA Lc -98.5 Preferred for body text
Black text on #5B1385 1.87:1 Fails Lc 9.3 Not readable
#5B1385 text on white 11.19:1 AAA Lc 94.6 Preferred for body text
#5B1385 text on black 1.87:1 Fails Lc -8.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

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E4FE

    oklch(93.7% 0.037 308)

  3. Step 200

    200

    #E7CDFE

    oklch(88.5% 0.072 308.9)

  4. Step 300

    300

    #D7AAFF

    oklch(80.9% 0.126 308)

  5. Step 400

    400

    #C477FF

    oklch(70.8% 0.201 308.2)

  6. Step 500

    500

    #B644FF

    oklch(63% 0.263 308.3)

  7. Step 600

    600

    #A200ED

    oklch(55.6% 0.283 308.4)

  8. Step 700

    700

    #8900C9

    oklch(49.1% 0.25 308.5)

  9. Step 800

    800

    #7100A7

    oklch(42.8% 0.218 308.4)

  10. Step 900

    900 (this color)

    #5B1385

    oklch(37.5% 0.173 308.3)

  11. Step 950

    950

    #35104E

    oklch(27% 0.109 307.9)

Export this scale for Tailwind in the Tailwind colors tool

#5B1385 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)#0039880.135
Deuteranopia (no green cones)#003C830.137
Tritanopia (no blue cones)#54324E0.118
Achromatopsia (no color)#3B3B3B0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B1385

    #5B1385

    oklch(37.5% 0.173 308.3)

  • #314A00

    #314A00

    oklch(37.4% 0.098 128.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B1385

    #5B1385

    oklch(37.5% 0.173 308.3)

  • #342999

    #342999

    oklch(37.6% 0.173 278.4)

  • #72005E

    #72005E

    oklch(37.5% 0.164 338.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B1385

    #5B1385

    oklch(37.5% 0.173 308.3)

  • #4C4100

    #4C4100

    oklch(37.5% 0.078 98.3)

  • #004F2F

    #004F2F

    oklch(37.7% 0.088 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B1385

    #5B1385

    oklch(37.5% 0.173 308.3)

  • #5D3700

    #5D3700

    oklch(37.5% 0.082 67.8)

  • #004C48

    #004C48

    oklch(37.6% 0.065 188.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B1385

    #5B1385

    oklch(37.5% 0.173 308.3)

  • #742100

    #742100

    oklch(37.7% 0.122 38.4)

  • #314A00

    #314A00

    oklch(37.4% 0.098 128.3)

  • #004959

    #004959

    oklch(37.5% 0.068 218.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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