#5F104F

Closest named color: Grape Purple (#5D1451). oklch(34% 0.131 337.9), rgb(95, 16, 79).

Aa

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

About this color

#5F104F is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.131 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.007 away. White text reads best on it, at 12.54:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.67:1
White text12.54:1

Values

HEX#5F104F
RGBrgb(95, 16, 79)
HSLhsl(312, 71%, 22%)
OKLCHoklch(34% 0.131 337.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 #5F104F 12.54:1 AAA Lc -100.9 Preferred for body text
Black text on #5F104F 1.67:1 Fails Lc 0.0 Not readable
#5F104F text on white 12.54:1 AAA Lc 97.3 Preferred for body text
#5F104F text on black 1.67: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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F2CCE6

    oklch(88.5% 0.054 337.7)

  4. Step 300

    300

    #EBA8D7

    oklch(80.9% 0.099 338)

  5. Step 400

    400

    #DE76C2

    oklch(70.7% 0.158 338.3)

  6. Step 500

    500

    #D14DB3

    oklch(63.1% 0.2 337.8)

  7. Step 600

    600

    #BD269F

    oklch(55.7% 0.219 337.9)

  8. Step 700

    700

    #A21488

    oklch(49.1% 0.204 337.7)

  9. Step 800

    800

    #84176E

    oklch(42.7% 0.168 338.1)

  10. Step 900

    900 (this color)

    #5F104F

    oklch(34% 0.131 337.9)

  11. Step 950

    950

    #3F1234

    oklch(27% 0.084 338.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F104F 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)#142C510.145
Deuteranopia (no green cones)#2F384D0.124
Tritanopia (no blue cones)#65152F0.062
Achromatopsia (no color)#3333330.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F104F

    #5F104F

    oklch(34% 0.131 337.9)

  • #004427

    #004427

    oklch(34% 0.08 157.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F104F

    #5F104F

    oklch(34% 0.131 337.9)

  • #4B1D6B

    #4B1D6B

    oklch(34.1% 0.131 307.9)

  • #6A052B

    #6A052B

    oklch(33.9% 0.131 7.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F104F

    #5F104F

    oklch(34% 0.131 337.9)

  • #2A4000

    #2A4000

    oklch(34% 0.089 128.2)

  • #00423E

    #00423E

    oklch(34.2% 0.059 188)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F104F

    #5F104F

    oklch(34% 0.131 337.9)

  • #423800

    #423800

    oklch(34.1% 0.07 98)

  • #003F4D

    #003F4D

    oklch(34% 0.061 218.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F104F

    #5F104F

    oklch(34% 0.131 337.9)

  • #512F00

    #512F00

    oklch(34% 0.075 67.5)

  • #004427

    #004427

    oklch(34% 0.08 157.5)

  • #003A64

    #003A64

    oklch(34% 0.091 247.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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