#5B386A

Closest named color: Dark Slate Blue (#483D8B). oklch(40.4% 0.091 315.1), rgb(91, 56, 106).

Aa

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

About this color

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

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

Values

HEX#5B386A
RGBrgb(91, 56, 106)
HSLhsl(282, 31%, 32%)
OKLCHoklch(40.4% 0.091 315.1)

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 #5B386A 9.46:1 AAA Lc -96.0 Preferred for body text
Black text on #5B386A 2.21:1 Fails Lc 12.2 Not readable
#5B386A text on white 9.46:1 AAA Lc 91.7 Preferred for body text
#5B386A text on black 2.21:1 Fails Lc -10.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 800.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E1D4E7

    oklch(88.6% 0.029 315.3)

  4. Step 300

    300

    #CEB7D9

    oklch(81% 0.053 314.9)

  5. Step 400

    400

    #B591C5

    oklch(70.8% 0.084 315.3)

  6. Step 500

    500

    #A275B6

    oklch(63.1% 0.107 315.1)

  7. Step 600

    600

    #8D5CA2

    oklch(55.5% 0.118 315.2)

  8. Step 700

    700

    #784C8B

    oklch(49.2% 0.109 315.1)

  9. Step 800

    800 (this color)

    #5B386A

    oklch(40.4% 0.091 315.1)

  10. Step 900

    900

    #50355B

    oklch(37.7% 0.071 315.7)

  11. Step 950

    950

    #2F1F35

    oklch(26.9% 0.045 316.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B386A 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)#2F446C0.076
Deuteranopia (no green cones)#3847690.069
Tritanopia (no blue cones)#5A3F4C0.060
Achromatopsia (no color)#4646460.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B386A

    #5B386A

    oklch(40.4% 0.091 315.1)

  • #32531D

    #32531D

    oklch(40.3% 0.09 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B386A

    #5B386A

    oklch(40.4% 0.091 315.1)

  • #444077

    #444077

    oklch(40.3% 0.091 284.9)

  • #6A3254

    #6A3254

    oklch(40.3% 0.092 344.6)

Open the analogous palette in the generator

Split complementary

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

  • #5B386A

    #5B386A

    oklch(40.4% 0.091 315.1)

  • #504B00

    #504B00

    oklch(40.5% 0.086 105.2)

  • #00573D

    #00573D

    oklch(40.5% 0.085 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B386A

    #5B386A

    oklch(40.4% 0.091 315.1)

  • #634100

    #634100

    oklch(40.4% 0.085 75.4)

  • #005454

    #005454

    oklch(40.4% 0.069 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B386A

    #5B386A

    oklch(40.4% 0.091 315.1)

  • #70361A

    #70361A

    oklch(40.4% 0.091 44.7)

  • #32531D

    #32531D

    oklch(40.3% 0.09 135.1)

  • #005168

    #005168

    oklch(40.5% 0.077 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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