#5B356A

Closest named color: Dark Slate Blue (#483D8B). oklch(39.9% 0.096 315.8), rgb(91, 53, 106).

Aa

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

About this color

#5B356A is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.096 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.71:1.

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

Values

HEX#5B356A
RGBrgb(91, 53, 106)
HSLhsl(283, 33%, 31%)
OKLCHoklch(39.9% 0.096 315.8)

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 #5B356A 9.71:1 AAA Lc -96.5 Preferred for body text
Black text on #5B356A 2.16:1 Fails Lc 11.7 Not readable
#5B356A text on white 9.71:1 AAA Lc 92.3 Preferred for body text
#5B356A text on black 2.16:1 Fails Lc -10.1 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

    #E4D2EC

    oklch(88.6% 0.04 315.6)

  4. Step 300

    300

    #D3B3E1

    oklch(80.9% 0.072 315.5)

  5. Step 400

    400

    #BD8AD1

    oklch(70.8% 0.115 316.2)

  6. Step 500

    500

    #AB6AC5

    oklch(63% 0.148 315.7)

  7. Step 600

    600

    #9750B2

    oklch(55.7% 0.161 315.8)

  8. Step 700

    700

    #804099

    oklch(49.1% 0.149 315.5)

  9. Step 800

    800

    #68357C

    oklch(42.6% 0.124 315.5)

  10. Step 900

    900 (this color)

    #5B356A

    oklch(39.9% 0.096 315.8)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B356A 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)#2B426C0.083
Deuteranopia (no green cones)#3545690.075
Tritanopia (no blue cones)#5A3D4A0.065
Achromatopsia (no color)#4444440.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B356A

    #5B356A

    oklch(39.9% 0.096 315.8)

  • #2E5218

    #2E5218

    oklch(39.7% 0.096 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B356A

    #5B356A

    oklch(39.9% 0.096 315.8)

  • #443E78

    #443E78

    oklch(39.9% 0.095 286)

  • #6B2F52

    #6B2F52

    oklch(39.9% 0.097 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #5B356A

    #5B356A

    oklch(39.9% 0.096 315.8)

  • #4E4900

    #4E4900

    oklch(39.8% 0.084 105.1)

  • #00553D

    #00553D

    oklch(39.9% 0.083 166.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B356A

    #5B356A

    oklch(39.9% 0.096 315.8)

  • #614000

    #614000

    oklch(39.9% 0.084 75.9)

  • #005253

    #005253

    oklch(39.8% 0.068 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B356A

    #5B356A

    oklch(39.9% 0.096 315.8)

  • #703313

    #703313

    oklch(39.8% 0.097 45.4)

  • #2E5218

    #2E5218

    oklch(39.7% 0.096 135.6)

  • #004F66

    #004F66

    oklch(39.8% 0.076 225.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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