#5F008D

Closest named color: Indigo (#4B0082). oklch(37.8% 0.193 308.5), rgb(95, 0, 141).

Aa

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

About this color

#5F008D is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.193 and its hue 309°. 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.22:1.

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

Values

HEX#5F008D
RGBrgb(95, 0, 141)
HSLhsl(280, 100%, 28%)
OKLCHoklch(37.8% 0.193 308.5)

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 #5F008D 11.22:1 AAA Lc -97.9 Preferred for body text
Black text on #5F008D 1.87:1 Fails Lc 10.1 Not readable
#5F008D text on white 11.22:1 AAA Lc 93.8 Preferred for body text
#5F008D text on black 1.87:1 Fails Lc -8.7 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

    #F1E3FF

    oklch(93.5% 0.04 308)

  3. Step 200

    200

    #E7CDFF

    oklch(88.6% 0.073 308.4)

  4. Step 300

    300

    #D8AAFF

    oklch(81% 0.126 308.6)

  5. Step 400

    400

    #C476FF

    oklch(70.6% 0.203 308.4)

  6. Step 500

    500

    #B744FF

    oklch(63.2% 0.263 308.6)

  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

    #7100A6

    oklch(42.7% 0.217 308.7)

  10. Step 900

    900 (this color)

    #5F008D

    oklch(37.8% 0.193 308.5)

  11. Step 950

    950

    #370952

    oklch(26.9% 0.122 308.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F008D 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)#0038900.146
Deuteranopia (no green cones)#003C8B0.149
Tritanopia (no blue cones)#5731510.130
Achromatopsia (no color)#3B3B3B0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F008D

    #5F008D

    oklch(37.8% 0.193 308.5)

  • #324B00

    #324B00

    oklch(37.8% 0.099 128.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F008D

    #5F008D

    oklch(37.8% 0.193 308.5)

  • #3522A4

    #3522A4

    oklch(37.9% 0.193 278.5)

  • #74005F

    #74005F

    oklch(37.9% 0.166 338.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F008D

    #5F008D

    oklch(37.8% 0.193 308.5)

  • #4D4200

    #4D4200

    oklch(37.9% 0.078 98.5)

  • #004F30

    #004F30

    oklch(37.7% 0.087 158.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F008D

    #5F008D

    oklch(37.8% 0.193 308.5)

  • #5E3800

    #5E3800

    oklch(37.8% 0.083 68.3)

  • #004D49

    #004D49

    oklch(37.9% 0.066 188.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F008D

    #5F008D

    oklch(37.8% 0.193 308.5)

  • #752100

    #752100

    oklch(37.9% 0.123 38.2)

  • #324B00

    #324B00

    oklch(37.8% 0.099 128.2)

  • #004A5A

    #004A5A

    oklch(37.8% 0.068 218.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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