#5D2175

Closest named color: Grape Purple (#5D1451). oklch(37.9% 0.143 314.6), rgb(93, 33, 117).

Aa

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

About this color

#5D2175 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.143 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.064 away. White text reads best on it, at 10.82:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.143)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.93:1
White text10.82:1

Values

HEX#5D2175
RGBrgb(93, 33, 117)
HSLhsl(283, 56%, 29%)
OKLCHoklch(37.9% 0.143 314.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 #5D2175 10.82:1 AAA Lc -98.3 Preferred for body text
Black text on #5D2175 1.93:1 Fails Lc 9.6 Not readable
#5D2175 text on white 10.82:1 AAA Lc 94.3 Preferred for body text
#5D2175 text on black 1.93:1 Fails Lc -8.2 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E8CEF5

    oklch(88.5% 0.06 314.5)

  4. Step 300

    300

    #DAACF1

    oklch(80.9% 0.107 314.2)

  5. Step 400

    400

    #C87CE9

    oklch(70.8% 0.171 314.9)

  6. Step 500

    500

    #B953E3

    oklch(63.1% 0.22 314.6)

  7. Step 600

    600

    #A42ED0

    oklch(55.5% 0.238 314.6)

  8. Step 700

    700

    #8D1DB4

    oklch(49.1% 0.222 314.8)

  9. Step 800

    800

    #721D92

    oklch(42.7% 0.183 314.5)

  10. Step 900

    900 (this color)

    #5D2175

    oklch(37.9% 0.143 314.6)

  11. Step 950

    950

    #361544

    oklch(27% 0.09 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#5D2175 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)#003A770.133
Deuteranopia (no green cones)#1E3F730.119
Tritanopia (no blue cones)#5B32480.094
Achromatopsia (no color)#3D3D3D0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D2175

    #5D2175

    oklch(37.9% 0.143 314.6)

  • #264E00

    #264E00

    oklch(37.9% 0.11 134.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D2175

    #5D2175

    oklch(37.9% 0.143 314.6)

  • #3E2F89

    #3E2F89

    oklch(37.9% 0.143 284.9)

  • #721353

    #721353

    oklch(37.9% 0.143 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #5D2175

    #5D2175

    oklch(37.9% 0.143 314.6)

  • #494400

    #494400

    oklch(38% 0.08 104.9)

  • #004F37

    #004F37

    oklch(37.9% 0.08 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D2175

    #5D2175

    oklch(37.9% 0.143 314.6)

  • #5B3B00

    #5B3B00

    oklch(38% 0.08 74.8)

  • #004D4C

    #004D4C

    oklch(38% 0.065 193.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D2175

    #5D2175

    oklch(37.9% 0.143 314.6)

  • #6F2900

    #6F2900

    oklch(37.9% 0.11 44.2)

  • #264E00

    #264E00

    oklch(37.9% 0.11 134.7)

  • #004A5E

    #004A5E

    oklch(38% 0.071 223.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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