#5D3176

Closest named color: Dark Slate Blue (#483D8B). oklch(40.2% 0.119 311.6), rgb(93, 49, 118).

Aa

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

About this color

#5D3176 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.119 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.056 away. White text reads best on it, at 9.69:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.16:1
White text9.69:1

Values

HEX#5D3176
RGBrgb(93, 49, 118)
HSLhsl(278, 41%, 33%)
OKLCHoklch(40.2% 0.119 311.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 #5D3176 9.69:1 AAA Lc -96.4 Preferred for body text
Black text on #5D3176 2.16:1 Fails Lc 11.8 Not readable
#5D3176 text on white 9.69:1 AAA Lc 92.1 Preferred for body text
#5D3176 text on black 2.16:1 Fails Lc -10.3 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E4D0F2

    oklch(88.4% 0.051 311.5)

  4. Step 300

    300

    #D4B0EB

    oklch(80.8% 0.09 312)

  5. Step 400

    400

    #BE85E1

    oklch(70.8% 0.143 311.7)

  6. Step 500

    500

    #AD62D8

    oklch(63% 0.183 311.6)

  7. Step 600

    600

    #9945C6

    oklch(55.7% 0.199 311.6)

  8. Step 700

    700

    #8235AB

    oklch(49.1% 0.185 311.4)

  9. Step 800

    800

    #6A2D8A

    oklch(42.7% 0.153 311.8)

  10. Step 900

    900 (this color)

    #5D3176

    oklch(40.2% 0.119 311.6)

  11. Step 950

    950

    #321941

    oklch(26.9% 0.077 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#5D3176 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)#1C42780.103
Deuteranopia (no green cones)#2C45740.091
Tritanopia (no blue cones)#5A3D4E0.082
Achromatopsia (no color)#4444440.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D3176

    #5D3176

    oklch(40.2% 0.119 311.6)

  • #315300

    #315300

    oklch(40% 0.11 131.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D3176

    #5D3176

    oklch(40.2% 0.119 311.6)

  • #403C86

    #403C86

    oklch(40.2% 0.12 282)

  • #71285A

    #71285A

    oklch(40.2% 0.12 342)

Open the analogous palette in the generator

Split complementary

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

  • #5D3176

    #5D3176

    oklch(40.2% 0.119 311.6)

  • #524900

    #524900

    oklch(40.2% 0.084 101.3)

  • #005639

    #005639

    oklch(40.1% 0.088 162.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D3176

    #5D3176

    oklch(40.2% 0.119 311.6)

  • #643F00

    #643F00

    oklch(40.1% 0.086 72.1)

  • #005451

    #005451

    oklch(40.3% 0.069 190.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D3176

    #5D3176

    oklch(40.2% 0.119 311.6)

  • #7A2B03

    #7A2B03

    oklch(40.1% 0.119 41.7)

  • #315300

    #315300

    oklch(40% 0.11 131.4)

  • #005164

    #005164

    oklch(40.3% 0.074 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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