#5F0886

Closest named color: Indigo (#4B0082). oklch(37.6% 0.183 310.7), rgb(95, 8, 134).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.183)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.86:1
White text11.25:1

Values

HEX#5F0886
RGBrgb(95, 8, 134)
HSLhsl(281, 89%, 28%)
OKLCHoklch(37.6% 0.183 310.7)

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 #5F0886 11.25:1 AAA Lc -98.3 Preferred for body text
Black text on #5F0886 1.86:1 Fails Lc 9.6 Not readable
#5F0886 text on white 11.25:1 AAA Lc 94.3 Preferred for body text
#5F0886 text on black 1.86:1 Fails Lc -8.3 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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F2E3FE

    oklch(93.6% 0.039 310.3)

  3. Step 200

    200

    #E9CCFF

    oklch(88.6% 0.075 310.4)

  4. Step 300

    300

    #DBA8FF

    oklch(80.9% 0.131 310.5)

  5. Step 400

    400

    #C972FF

    oklch(70.6% 0.21 310.6)

  6. Step 500

    500

    #BC3CFF

    oklch(63.1% 0.272 310.6)

  7. Step 600

    600

    #A600E8

    oklch(55.7% 0.281 310.7)

  8. Step 700

    700

    #8C00C4

    oklch(49.1% 0.247 310.8)

  9. Step 800

    800

    #7300A3

    oklch(42.7% 0.216 310.5)

  10. Step 900

    900 (this color)

    #5F0886

    oklch(37.6% 0.183 310.7)

  11. Step 950

    950

    #380C4F

    oklch(27% 0.116 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F0886 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)#0037890.146
Deuteranopia (no green cones)#003C840.149
Tritanopia (no blue cones)#592F4D0.122
Achromatopsia (no color)#3B3B3B0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F0886

    #5F0886

    oklch(37.6% 0.183 310.7)

  • #2D4B00

    #2D4B00

    oklch(37.5% 0.102 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F0886

    #5F0886

    oklch(37.6% 0.183 310.7)

  • #38249D

    #38249D

    oklch(37.6% 0.182 280.6)

  • #74005A

    #74005A

    oklch(37.6% 0.163 341.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F0886

    #5F0886

    oklch(37.6% 0.183 310.7)

  • #4B4200

    #4B4200

    oklch(37.7% 0.078 100.6)

  • #004E32

    #004E32

    oklch(37.4% 0.083 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F0886

    #5F0886

    oklch(37.6% 0.183 310.7)

  • #5C3800

    #5C3800

    oklch(37.5% 0.081 70)

  • #004C49

    #004C49

    oklch(37.6% 0.065 190.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F0886

    #5F0886

    oklch(37.6% 0.183 310.7)

  • #712400

    #712400

    oklch(37.5% 0.116 40.6)

  • #2D4B00

    #2D4B00

    oklch(37.5% 0.102 130.8)

  • #00495B

    #00495B

    oklch(37.6% 0.069 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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