#5F254F

Closest named color: Grape Purple (#5D1451). oklch(36.4% 0.101 339.5), rgb(95, 37, 79).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.101)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.86:1
White text11.26:1

Values

HEX#5F254F
RGBrgb(95, 37, 79)
HSLhsl(317, 44%, 26%)
OKLCHoklch(36.4% 0.101 339.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 #5F254F 11.26:1 AAA Lc -99.3 Preferred for body text
Black text on #5F254F 1.86:1 Fails Lc 8.4 Not readable
#5F254F text on white 11.26:1 AAA Lc 95.5 Preferred for body text
#5F254F text on black 1.86: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EDCFE2

    oklch(88.5% 0.042 339.7)

  4. Step 300

    300

    #E2AED0

    oklch(80.8% 0.075 339.6)

  5. Step 400

    400

    #D282B9

    oklch(70.8% 0.12 339.4)

  6. Step 500

    500

    #C45FA7

    oklch(63% 0.155 339.5)

  7. Step 600

    600

    #AF4392

    oklch(55.6% 0.167 339.6)

  8. Step 700

    700

    #96347D

    oklch(49.1% 0.156 339.2)

  9. Step 800

    800

    #7A2C65

    oklch(42.7% 0.129 339.7)

  10. Step 900

    900 (this color)

    #5F254F

    oklch(36.4% 0.101 339.5)

  11. Step 950

    950

    #3A1830

    oklch(26.9% 0.064 339.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F254F 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)#2835500.106
Deuteranopia (no green cones)#383E4E0.095
Tritanopia (no blue cones)#6426360.046
Achromatopsia (no color)#3B3B3B0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F254F

    #5F254F

    oklch(36.4% 0.101 339.5)

  • #004B2E

    #004B2E

    oklch(36.4% 0.083 159.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F254F

    #5F254F

    oklch(36.4% 0.101 339.5)

  • #4E2C65

    #4E2C65

    oklch(36.3% 0.101 309.8)

  • #682232

    #682232

    oklch(36.4% 0.101 9.8)

Open the analogous palette in the generator

Split complementary

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

  • #5F254F

    #5F254F

    oklch(36.4% 0.101 339.5)

  • #2D4700

    #2D4700

    oklch(36.3% 0.097 129.4)

  • #004945

    #004945

    oklch(36.5% 0.063 188.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F254F

    #5F254F

    oklch(36.4% 0.101 339.5)

  • #483E00

    #483E00

    oklch(36.3% 0.075 99)

  • #004656

    #004656

    oklch(36.4% 0.066 219.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F254F

    #5F254F

    oklch(36.4% 0.101 339.5)

  • #583500

    #583500

    oklch(36.3% 0.079 69.5)

  • #004B2E

    #004B2E

    oklch(36.4% 0.083 159.4)

  • #014070

    #014070

    oklch(36.4% 0.1 249.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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