#5B0E8A

Closest named color: Indigo (#4B0082). oklch(37.7% 0.182 306.8), rgb(91, 14, 138).

Aa

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

About this color

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

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

Values

HEX#5B0E8A
RGBrgb(91, 14, 138)
HSLhsl(277, 82%, 30%)
OKLCHoklch(37.7% 0.182 306.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 #5B0E8A 11.20:1 AAA Lc -98.4 Preferred for body text
Black text on #5B0E8A 1.87:1 Fails Lc 9.5 Not readable
#5B0E8A text on white 11.20:1 AAA Lc 94.4 Preferred for body text
#5B0E8A text on black 1.87:1 Fails Lc -8.2 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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F1E4FF

    oklch(93.7% 0.039 307.2)

  3. Step 200

    200

    #E5CDFF

    oklch(88.4% 0.072 306.7)

  4. Step 300

    300

    #D5ABFF

    oklch(80.8% 0.123 306.7)

  5. Step 400

    400

    #C179FF

    oklch(70.8% 0.197 306.9)

  6. Step 500

    500

    #B249FF

    oklch(63.1% 0.257 306.7)

  7. Step 600

    600

    #A000F1

    oklch(55.6% 0.286 306.9)

  8. Step 700

    700

    #8700CC

    oklch(49.1% 0.252 307)

  9. Step 800

    800

    #6F00A9

    oklch(42.7% 0.219 307)

  10. Step 900

    900 (this color)

    #5B0E8A

    oklch(37.7% 0.182 306.8)

  11. Step 950

    950

    #350E51

    oklch(27% 0.115 306.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B0E8A 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)#00398D0.136
Deuteranopia (no green cones)#003B880.137
Tritanopia (no blue cones)#5333500.126
Achromatopsia (no color)#3B3B3B0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B0E8A

    #5B0E8A

    oklch(37.7% 0.182 306.8)

  • #344A00

    #344A00

    oklch(37.7% 0.097 126.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B0E8A

    #5B0E8A

    oklch(37.7% 0.182 306.8)

  • #31279E

    #31279E

    oklch(37.6% 0.182 276.8)

  • #720061

    #720061

    oklch(37.7% 0.166 336.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B0E8A

    #5B0E8A

    oklch(37.7% 0.182 306.8)

  • #4D4100

    #4D4100

    oklch(37.6% 0.078 97.3)

  • #004F2D

    #004F2D

    oklch(37.6% 0.09 156.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B0E8A

    #5B0E8A

    oklch(37.7% 0.182 306.8)

  • #5E3700

    #5E3700

    oklch(37.6% 0.083 67)

  • #004C47

    #004C47

    oklch(37.5% 0.065 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B0E8A

    #5B0E8A

    oklch(37.7% 0.182 306.8)

  • #761E00

    #761E00

    oklch(37.7% 0.127 36.7)

  • #344A00

    #344A00

    oklch(37.7% 0.097 126.5)

  • #004A58

    #004A58

    oklch(37.7% 0.067 215.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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