#5F104C

Closest named color: Grape Purple (#5D1451). oklch(33.9% 0.129 339.9), rgb(95, 16, 76).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.66:1
White text12.61:1

Values

HEX#5F104C
RGBrgb(95, 16, 76)
HSLhsl(314, 71%, 22%)
OKLCHoklch(33.9% 0.129 339.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 #5F104C 12.61:1 AAA Lc -101.0 Preferred for body text
Black text on #5F104C 1.66:1 Fails Lc 0.0 Not readable
#5F104C text on white 12.61:1 AAA Lc 97.5 Preferred for body text
#5F104C text on black 1.66: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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F3CCE4

    oklch(88.5% 0.054 340.8)

  4. Step 300

    300

    #EBA8D4

    oklch(80.8% 0.097 340)

  5. Step 400

    400

    #DE77BF

    oklch(70.7% 0.154 339.7)

  6. Step 500

    500

    #D24DAE

    oklch(63% 0.197 340)

  7. Step 600

    600

    #BD279A

    oklch(55.5% 0.215 339.7)

  8. Step 700

    700

    #A31683

    oklch(49.1% 0.2 340.1)

  9. Step 800

    800

    #84186B

    oklch(42.7% 0.165 339.6)

  10. Step 900

    900 (this color)

    #5F104C

    oklch(33.9% 0.129 339.9)

  11. Step 950

    950

    #3F1333

    oklch(27.1% 0.081 339.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F104C 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)#162B4E0.143
Deuteranopia (no green cones)#30384A0.124
Tritanopia (no blue cones)#65132D0.059
Achromatopsia (no color)#3333330.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F104C

    #5F104C

    oklch(33.9% 0.129 339.9)

  • #004329

    #004329

    oklch(33.8% 0.077 159.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F104C

    #5F104C

    oklch(33.9% 0.129 339.9)

  • #4C1C68

    #4C1C68

    oklch(33.9% 0.13 310.2)

  • #6A0728

    #6A0728

    oklch(34% 0.129 10.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F104C

    #5F104C

    oklch(33.9% 0.129 339.9)

  • #274000

    #274000

    oklch(33.8% 0.091 130.1)

  • #00413E

    #00413E

    oklch(33.9% 0.059 189.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F104C

    #5F104C

    oklch(33.9% 0.129 339.9)

  • #403800

    #403800

    oklch(33.9% 0.071 100.4)

  • #003F4D

    #003F4D

    oklch(34% 0.061 218.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F104C

    #5F104C

    oklch(33.9% 0.129 339.9)

  • #4F3000

    #4F3000

    oklch(33.9% 0.073 70.9)

  • #004329

    #004329

    oklch(33.8% 0.077 159.8)

  • #003966

    #003966

    oklch(33.9% 0.095 249.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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