#5F214D

Closest named color: Grape Purple (#5D1451). oklch(35.8% 0.106 340.7), rgb(95, 33, 77).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.106)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.81:1
White text11.59:1

Values

HEX#5F214D
RGBrgb(95, 33, 77)
HSLhsl(317, 48%, 25%)
OKLCHoklch(35.8% 0.106 340.7)

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 #5F214D 11.59:1 AAA Lc -99.8 Preferred for body text
Black text on #5F214D 1.81:1 Fails Lc 7.8 Not readable
#5F214D text on white 11.59:1 AAA Lc 96.1 Preferred for body text
#5F214D text on black 1.81: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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EE

    oklch(93.5% 0.023 341.3)

  3. Step 200

    200

    #EECEE2

    oklch(88.4% 0.044 340.1)

  4. Step 300

    300

    #E5ADD0

    oklch(81% 0.079 341.1)

  5. Step 400

    400

    #D57FB9

    oklch(70.6% 0.128 340.3)

  6. Step 500

    500

    #C85CA7

    oklch(63.1% 0.163 340.7)

  7. Step 600

    600

    #B33E92

    oklch(55.6% 0.177 340.7)

  8. Step 700

    700

    #9A2F7C

    oklch(49.1% 0.165 341)

  9. Step 800

    800

    #7D2965

    oklch(42.8% 0.136 340.9)

  10. Step 900

    900 (this color)

    #5F214D

    oklch(35.8% 0.106 340.7)

  11. Step 950

    950

    #3B1730

    oklch(26.9% 0.067 340.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F214D 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)#25324E0.113
Deuteranopia (no green cones)#373C4B0.100
Tritanopia (no blue cones)#6522330.049
Achromatopsia (no color)#3939390.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F214D

    #5F214D

    oklch(35.8% 0.106 340.7)

  • #00492E

    #00492E

    oklch(35.8% 0.08 160.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F214D

    #5F214D

    oklch(35.8% 0.106 340.7)

  • #4E2965

    #4E2965

    oklch(35.8% 0.106 310.6)

  • #681E2F

    #681E2F

    oklch(35.8% 0.106 10.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F214D

    #5F214D

    oklch(35.8% 0.106 340.7)

  • #2A4600

    #2A4600

    oklch(35.8% 0.097 130.7)

  • #004644

    #004644

    oklch(35.6% 0.061 191.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F214D

    #5F214D

    oklch(35.8% 0.106 340.7)

  • #453D00

    #453D00

    oklch(35.7% 0.075 101.1)

  • #004454

    #004454

    oklch(35.8% 0.065 220.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F214D

    #5F214D

    oklch(35.8% 0.106 340.7)

  • #553400

    #553400

    oklch(35.7% 0.077 70.8)

  • #00492E

    #00492E

    oklch(35.8% 0.08 160.6)

  • #003D70

    #003D70

    oklch(35.7% 0.104 251.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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