#5D306E

Closest named color: Dark Slate Blue (#483D8B). oklch(39.5% 0.111 316), rgb(93, 48, 110).

Aa

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

About this color

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

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

Values

HEX#5D306E
RGBrgb(93, 48, 110)
HSLhsl(284, 39%, 31%)
OKLCHoklch(39.5% 0.111 316)

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 #5D306E 9.93:1 AAA Lc -96.9 Preferred for body text
Black text on #5D306E 2.11:1 Fails Lc 11.2 Not readable
#5D306E text on white 9.93:1 AAA Lc 92.7 Preferred for body text
#5D306E text on black 2.11:1 Fails Lc -9.7 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

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E5D0EE

    oklch(88.4% 0.046 315.8)

  4. Step 300

    300

    #D6B0E5

    oklch(80.8% 0.084 316.3)

  5. Step 400

    400

    #C185D9

    oklch(70.7% 0.135 315.9)

  6. Step 500

    500

    #B164CE

    oklch(63.2% 0.17 316.1)

  7. Step 600

    600

    #9C47BB

    oklch(55.6% 0.186 315.9)

  8. Step 700

    700

    #8537A1

    oklch(49% 0.173 315.9)

  9. Step 800

    800

    #6C2F82

    oklch(42.6% 0.142 316)

  10. Step 900

    900 (this color)

    #5D306E

    oklch(39.5% 0.111 316)

  11. Step 950

    950

    #341A3D

    oklch(27.1% 0.07 316.8)

Export this scale for Tailwind in the Tailwind colors tool

#5D306E 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)#2240700.099
Deuteranopia (no green cones)#30446C0.089
Tritanopia (no blue cones)#5C3A4A0.074
Achromatopsia (no color)#4343430.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D306E

    #5D306E

    oklch(39.5% 0.111 316)

  • #275308

    #275308

    oklch(39.5% 0.112 136.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D306E

    #5D306E

    oklch(39.5% 0.111 316)

  • #433A7F

    #433A7F

    oklch(39.5% 0.112 286)

  • #6E2953

    #6E2953

    oklch(39.5% 0.111 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #5D306E

    #5D306E

    oklch(39.5% 0.111 316)

  • #4D4900

    #4D4900

    oklch(39.7% 0.085 106.1)

  • #00543C

    #00543C

    oklch(39.5% 0.082 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D306E

    #5D306E

    oklch(39.5% 0.111 316)

  • #603F00

    #603F00

    oklch(39.6% 0.083 75.5)

  • #005152

    #005152

    oklch(39.4% 0.067 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D306E

    #5D306E

    oklch(39.5% 0.111 316)

  • #742E00

    #742E00

    oklch(39.5% 0.111 46.2)

  • #275308

    #275308

    oklch(39.5% 0.112 136.2)

  • #004E65

    #004E65

    oklch(39.5% 0.075 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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