#5B3885

Closest named color: Dark Slate Blue (#483D8B). oklch(42.1% 0.126 302.3), rgb(91, 56, 133).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.34:1
White text8.93:1

Values

HEX#5B3885
RGBrgb(91, 56, 133)
HSLhsl(267, 41%, 37%)
OKLCHoklch(42.1% 0.126 302.3)

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 #5B3885 8.93:1 AAA Lc -94.6 Preferred for body text
Black text on #5B3885 2.34:1 Fails Lc 13.8 Not readable
#5B3885 text on white 8.93:1 AAA Lc 90.2 Preferred for body text
#5B3885 text on black 2.34:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F0

    oklch(88.5% 0.041 302.8)

  4. Step 300

    300

    #C9B6E9

    oklch(80.9% 0.074 301.8)

  5. Step 400

    400

    #AF8EDD

    oklch(70.7% 0.118 302.7)

  6. Step 500

    500

    #9B70D4

    oklch(63.1% 0.15 302.1)

  7. Step 600

    600

    #8656C1

    oklch(55.6% 0.163 302.1)

  8. Step 700

    700

    #7246A7

    oklch(49.2% 0.152 302)

  9. Step 800

    800 (this color)

    #5B3885

    oklch(42.1% 0.126 302.3)

  10. Step 900

    900

    #4C326C

    oklch(37.6% 0.099 302.6)

  11. Step 950

    950

    #2C1E3F

    oklch(26.9% 0.062 302)

Export this scale for Tailwind in the Tailwind colors tool

#5B3885 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)#1949880.095
Deuteranopia (no green cones)#2649830.086
Tritanopia (no blue cones)#5347590.094
Achromatopsia (no color)#4949490.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B3885

    #5B3885

    oklch(42.1% 0.126 302.3)

  • #445500

    #445500

    oklch(42% 0.102 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B3885

    #5B3885

    oklch(42.1% 0.126 302.3)

  • #374591

    #374591

    oklch(42.2% 0.126 272.1)

  • #732E6B

    #732E6B

    oklch(42.2% 0.125 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #5B3885

    #5B3885

    oklch(42.1% 0.126 302.3)

  • #5E4B00

    #5E4B00

    oklch(42% 0.086 92.1)

  • #005E2D

    #005E2D

    oklch(42.2% 0.111 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B3885

    #5B3885

    oklch(42.1% 0.126 302.3)

  • #723F00

    #723F00

    oklch(42.1% 0.097 62)

  • #005A50

    #005A50

    oklch(42% 0.075 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B3885

    #5B3885

    oklch(42.1% 0.126 302.3)

  • #842B1B

    #842B1B

    oklch(42.1% 0.125 32.4)

  • #445500

    #445500

    oklch(42% 0.102 122)

  • #005765

    #005765

    oklch(42% 0.074 213.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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