#5D255E

Closest named color: Grape Purple (#5D1451). oklch(36.9% 0.113 326.9), rgb(93, 37, 94).

Aa

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

About this color

#5D255E is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.113 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.036 away. White text reads best on it, at 11.10:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.89:1
White text11.10:1

Values

HEX#5D255E
RGBrgb(93, 37, 94)
HSLhsl(299, 44%, 26%)
OKLCHoklch(36.9% 0.113 326.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 #5D255E 11.10:1 AAA Lc -99.0 Preferred for body text
Black text on #5D255E 1.89:1 Fails Lc 8.8 Not readable
#5D255E text on white 11.10:1 AAA Lc 95.2 Preferred for body text
#5D255E text on black 1.89:1 Fails Lc -7.5 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEA

    oklch(88.6% 0.047 327.1)

  4. Step 300

    300

    #DEAEDE

    oklch(80.9% 0.085 326.3)

  5. Step 400

    400

    #CD81CD

    oklch(70.8% 0.136 326.9)

  6. Step 500

    500

    #BE5DBF

    oklch(63% 0.174 327)

  7. Step 600

    600

    #A940AB

    oklch(55.6% 0.188 327)

  8. Step 700

    700

    #913093

    oklch(49.1% 0.176 327)

  9. Step 800

    800

    #762A77

    oklch(42.8% 0.144 327.2)

  10. Step 900

    900 (this color)

    #5D255E

    oklch(36.9% 0.113 326.9)

  11. Step 950

    950

    #381838

    oklch(27% 0.071 327.3)

Export this scale for Tailwind in the Tailwind colors tool

#5D255E 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)#1E37600.114
Deuteranopia (no green cones)#313E5C0.099
Tritanopia (no blue cones)#602C3D0.065
Achromatopsia (no color)#3C3C3C0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D255E

    #5D255E

    oklch(36.9% 0.113 326.9)

  • #004E17

    #004E17

    oklch(36.9% 0.11 146.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D255E

    #5D255E

    oklch(36.9% 0.113 326.9)

  • #472F73

    #472F73

    oklch(37% 0.113 296.8)

  • #6B1F40

    #6B1F40

    oklch(37% 0.113 357.4)

Open the analogous palette in the generator

Split complementary

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

  • #5D255E

    #5D255E

    oklch(36.9% 0.113 326.9)

  • #3D4500

    #3D4500

    oklch(37% 0.085 117)

  • #004B3F

    #004B3F

    oklch(36.9% 0.068 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D255E

    #5D255E

    oklch(36.9% 0.113 326.9)

  • #513C00

    #513C00

    oklch(36.9% 0.076 86.3)

  • #004950

    #004950

    oklch(37% 0.063 205.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D255E

    #5D255E

    oklch(36.9% 0.113 326.9)

  • #623100

    #623100

    oklch(37% 0.09 57.1)

  • #004E17

    #004E17

    oklch(36.9% 0.11 146.8)

  • #004564

    #004564

    oklch(37% 0.08 236.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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