#5F1561

Closest named color: Grape Purple (#5D1451). oklch(35.6% 0.14 326.9), rgb(95, 21, 97).

Aa

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

About this color

#5F1561 is a dark, vivid purple. In OKLCH its lightness is 36%, its chroma 0.140 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.028 away. White text reads best on it, at 11.88:1.

Hue familyPurples
Lightnessdark (36%)
Chromavivid (0.140)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.76:1
White text11.88:1

Values

HEX#5F1561
RGBrgb(95, 21, 97)
HSLhsl(298, 64%, 23%)
OKLCHoklch(35.6% 0.14 326.9)

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 #5F1561 11.88:1 AAA Lc -99.9 Preferred for body text
Black text on #5F1561 1.76:1 Fails Lc 7.7 Not readable
#5F1561 text on white 11.88:1 AAA Lc 96.2 Preferred for body text
#5F1561 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F5E3F5

    oklch(93.5% 0.031 325.8)

  3. Step 200

    200

    #EFCCEE

    oklch(88.5% 0.059 327)

  4. Step 300

    300

    #E5A9E4

    oklch(80.9% 0.104 327)

  5. Step 400

    400

    #D677D7

    oklch(70.8% 0.168 326.8)

  6. Step 500

    500

    #C94CCB

    oklch(63.1% 0.215 327.1)

  7. Step 600

    600

    #B424B8

    oklch(55.6% 0.234 326.9)

  8. Step 700

    700

    #9B129F

    oklch(49.2% 0.218 326.9)

  9. Step 800

    800

    #7E1681

    oklch(42.8% 0.18 326.9)

  10. Step 900

    900 (this color)

    #5F1561

    oklch(35.6% 0.14 326.9)

  11. Step 950

    950

    #3C123C

    oklch(27% 0.089 327.7)

Export this scale for Tailwind in the Tailwind colors tool

#5F1561 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)#0331630.150
Deuteranopia (no green cones)#283A5F0.125
Tritanopia (no blue cones)#62223A0.079
Achromatopsia (no color)#3737370.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F1561

    #5F1561

    oklch(35.6% 0.14 326.9)

  • #004A16

    #004A16

    oklch(35.6% 0.106 147)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F1561

    #5F1561

    oklch(35.6% 0.14 326.9)

  • #46237A

    #46237A

    oklch(35.5% 0.14 297.2)

  • #6F063D

    #6F063D

    oklch(35.6% 0.14 357.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F1561

    #5F1561

    oklch(35.6% 0.14 326.9)

  • #394100

    #394100

    oklch(35.5% 0.082 117.3)

  • #00473B

    #00473B

    oklch(35.6% 0.066 176.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F1561

    #5F1561

    oklch(35.6% 0.14 326.9)

  • #4C3900

    #4C3900

    oklch(35.6% 0.073 87.6)

  • #00454C

    #00454C

    oklch(35.7% 0.061 206.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F1561

    #5F1561

    oklch(35.6% 0.14 326.9)

  • #5D2E00

    #5D2E00

    oklch(35.7% 0.086 56.8)

  • #004A16

    #004A16

    oklch(35.6% 0.106 147)

  • #00415F

    #00415F

    oklch(35.5% 0.077 236.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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