#5F1160

Closest named color: Grape Purple (#5D1451). oklch(35.2% 0.144 327.5), rgb(95, 17, 96).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (35%)
Chromavivid (0.144)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.73:1
White text12.09:1

Values

HEX#5F1160
RGBrgb(95, 17, 96)
HSLhsl(299, 70%, 22%)
OKLCHoklch(35.2% 0.144 327.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 #5F1160 12.09:1 AAA Lc -100.2 Preferred for body text
Black text on #5F1160 1.73:1 Fails Lc 7.4 Not readable
#5F1160 text on white 12.09:1 AAA Lc 96.5 Preferred for body text
#5F1160 text on black 1.73: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

    #F6E3F5

    oklch(93.6% 0.031 327.4)

  3. Step 200

    200

    #EFCCEE

    oklch(88.5% 0.059 327)

  4. Step 300

    300

    #E6A8E4

    oklch(80.9% 0.107 327.6)

  5. Step 400

    400

    #D875D7

    oklch(70.7% 0.173 327.6)

  6. Step 500

    500

    #CB49CC

    oklch(63.1% 0.221 327.5)

  7. Step 600

    600

    #B61EB8

    oklch(55.5% 0.239 327.6)

  8. Step 700

    700

    #9D089F

    oklch(49.2% 0.223 327.6)

  9. Step 800

    800

    #7F1181

    oklch(42.7% 0.185 327.4)

  10. Step 900

    900 (this color)

    #5F1160

    oklch(35.2% 0.144 327.5)

  11. Step 950

    950

    #3C123D

    oklch(27% 0.09 326.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F1160 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)#0030620.155
Deuteranopia (no green cones)#27395E0.129
Tritanopia (no blue cones)#621F380.081
Achromatopsia (no color)#3636360.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F1160

    #5F1160

    oklch(35.2% 0.144 327.5)

  • #004817

    #004817

    oklch(35% 0.102 147.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F1160

    #5F1160

    oklch(35.2% 0.144 327.5)

  • #46207A

    #46207A

    oklch(35.1% 0.144 297.8)

  • #6F003B

    #6F003B

    oklch(35.2% 0.143 357.8)

Open the analogous palette in the generator

Split complementary

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

  • #5F1160

    #5F1160

    oklch(35.2% 0.144 327.5)

  • #384000

    #384000

    oklch(35.2% 0.081 117.4)

  • #00463B

    #00463B

    oklch(35.3% 0.065 177.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F1160

    #5F1160

    oklch(35.2% 0.144 327.5)

  • #4B3800

    #4B3800

    oklch(35.2% 0.072 87.3)

  • #00434B

    #00434B

    oklch(35% 0.06 208.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F1160

    #5F1160

    oklch(35.2% 0.144 327.5)

  • #5B2D00

    #5B2D00

    oklch(35.2% 0.085 57)

  • #004817

    #004817

    oklch(35% 0.102 147.6)

  • #00405E

    #00405E

    oklch(35.2% 0.077 237.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5F1160.

Similar named colors

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

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