#5F2540

Closest named color: Grape Purple (#5D1451). oklch(35.7% 0.091 353.6), rgb(95, 37, 64).

Aa

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

About this color

#5F2540 is a dark, moderately saturated red. In OKLCH its lightness is 36%, its chroma 0.091 and its hue 354°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.052 away. White text reads best on it, at 11.50:1.

Hue familyReds
Lightnessdark (36%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.82:1
White text11.50:1

Values

HEX#5F2540
RGBrgb(95, 37, 64)
HSLhsl(332, 44%, 26%)
OKLCHoklch(35.7% 0.091 353.6)

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 #5F2540 11.50:1 AAA Lc -99.8 Preferred for body text
Black text on #5F2540 1.82:1 Fails Lc 7.9 Not readable
#5F2540 text on white 11.50:1 AAA Lc 96.0 Preferred for body text
#5F2540 text on black 1.82: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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F5E5EB

    oklch(93.6% 0.019 352.7)

  3. Step 200

    200

    #EECFDB

    oklch(88.4% 0.038 352.6)

  4. Step 300

    300

    #E5AFC4

    oklch(80.9% 0.068 353.5)

  5. Step 400

    400

    #D583A6

    oklch(70.6% 0.109 353.1)

  6. Step 500

    500

    #C86290

    oklch(63.1% 0.139 353.5)

  7. Step 600

    600

    #B3467A

    oklch(55.6% 0.152 353.5)

  8. Step 700

    700

    #9A3767

    oklch(49.2% 0.141 353.5)

  9. Step 800

    800

    #7D2F54

    oklch(42.8% 0.116 353.6)

  10. Step 900

    900 (this color)

    #5F2540

    oklch(35.7% 0.091 353.6)

  11. Step 950

    950

    #3B1929

    oklch(26.9% 0.058 352.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F2540 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)#2D33410.100
Deuteranopia (no green cones)#3D3D3F0.089
Tritanopia (no blue cones)#66222F0.031
Achromatopsia (no color)#3939390.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F2540

    #5F2540

    oklch(35.7% 0.091 353.6)

  • #004839

    #004839

    oklch(35.8% 0.069 172.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F2540

    #5F2540

    oklch(35.7% 0.091 353.6)

  • #532A57

    #532A57

    oklch(35.8% 0.09 323.9)

  • #642525

    #642525

    oklch(35.8% 0.092 22.9)

Open the analogous palette in the generator

Split complementary

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

  • #5F2540

    #5F2540

    oklch(35.7% 0.091 353.6)

  • #19481A

    #19481A

    oklch(35.7% 0.09 143.7)

  • #00454B

    #00454B

    oklch(35.6% 0.061 204.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F2540

    #5F2540

    oklch(35.7% 0.091 353.6)

  • #3D4000

    #3D4000

    oklch(35.7% 0.079 112.7)

  • #00425D

    #00425D

    oklch(35.7% 0.074 233.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F2540

    #5F2540

    oklch(35.7% 0.091 353.6)

  • #4F3800

    #4F3800

    oklch(35.7% 0.073 82.8)

  • #004839

    #004839

    oklch(35.8% 0.069 172.9)

  • #233A6B

    #233A6B

    oklch(35.7% 0.09 263.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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