#5B356D

Closest named color: Dark Slate Blue (#483D8B). oklch(40% 0.1 314), rgb(91, 53, 109).

Aa

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

About this color

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

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

Values

HEX#5B356D
RGBrgb(91, 53, 109)
HSLhsl(281, 35%, 32%)
OKLCHoklch(40% 0.1 314)

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 #5B356D 9.65:1 AAA Lc -96.4 Preferred for body text
Black text on #5B356D 2.17:1 Fails Lc 11.8 Not readable
#5B356D text on white 9.65:1 AAA Lc 92.1 Preferred for body text
#5B356D text on black 2.17: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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E3D1ED

    oklch(88.4% 0.043 313.7)

  4. Step 300

    300

    #D2B3E3

    oklch(80.9% 0.074 313.5)

  5. Step 400

    400

    #BC89D5

    oklch(70.7% 0.121 314.1)

  6. Step 500

    500

    #AB6ACA

    oklch(63.2% 0.154 314)

  7. Step 600

    600

    #964FB6

    oklch(55.6% 0.166 314.1)

  8. Step 700

    700

    #803F9D

    oklch(49.2% 0.155 314.1)

  9. Step 800

    800

    #68357F

    oklch(42.8% 0.128 314.1)

  10. Step 900

    900 (this color)

    #5B356D

    oklch(40% 0.1 314)

  11. Step 950

    950

    #311C3C

    oklch(27% 0.063 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#5B356D 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)#29426F0.085
Deuteranopia (no green cones)#34466B0.077
Tritanopia (no blue cones)#5A3E4C0.068
Achromatopsia (no color)#4545450.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B356D

    #5B356D

    oklch(40% 0.1 314)

  • #305312

    #305312

    oklch(40.1% 0.101 133.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B356D

    #5B356D

    oklch(40% 0.1 314)

  • #423E7B

    #423E7B

    oklch(40% 0.1 283.9)

  • #6C2E55

    #6C2E55

    oklch(40% 0.101 344)

Open the analogous palette in the generator

Split complementary

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

  • #5B356D

    #5B356D

    oklch(40% 0.1 314)

  • #504900

    #504900

    oklch(40% 0.084 103.2)

  • #00563B

    #00563B

    oklch(40.1% 0.086 163.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B356D

    #5B356D

    oklch(40% 0.1 314)

  • #624000

    #624000

    oklch(40.1% 0.085 75)

  • #005352

    #005352

    oklch(40% 0.068 193.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B356D

    #5B356D

    oklch(40% 0.1 314)

  • #723213

    #723213

    oklch(39.9% 0.1 43.8)

  • #305312

    #305312

    oklch(40.1% 0.101 133.8)

  • #005066

    #005066

    oklch(40.1% 0.075 224.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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