#5B3E8D

Closest named color: Dark Slate Blue (#483D8B). oklch(43.6% 0.127 297.9), rgb(91, 62, 141).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.51:1
White text8.33:1

Values

HEX#5B3E8D
RGBrgb(91, 62, 141)
HSLhsl(262, 39%, 40%)
OKLCHoklch(43.6% 0.127 297.9)

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 #5B3E8D 8.33:1 AAA Lc -93.1 Preferred for body text
Black text on #5B3E8D 2.51:1 Fails Lc 15.5 Dividers and decoration only
#5B3E8D text on white 8.33:1 AAA Lc 88.5 Fine for body text
#5B3E8D text on black 2.51:1 Fails Lc -13.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DCD4F1

    oklch(88.5% 0.04 298.2)

  4. Step 300

    300

    #C6B7EB

    oklch(80.9% 0.074 297.9)

  5. Step 400

    400

    #A990E1

    oklch(70.7% 0.118 297.5)

  6. Step 500

    500

    #9572D8

    oklch(63% 0.151 297.7)

  7. Step 600

    600

    #8058C5

    oklch(55.5% 0.164 297.8)

  8. Step 700

    700

    #6D47AB

    oklch(49.1% 0.154 298)

  9. Step 800

    800 (this color)

    #5B3E8D

    oklch(43.6% 0.127 297.9)

  10. Step 900

    900

    #49346E

    oklch(37.8% 0.097 298.3)

  11. Step 950

    950

    #2A1F41

    oklch(27% 0.062 297)

Export this scale for Tailwind in the Tailwind colors tool

#5B3E8D 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)#1D4E900.087
Deuteranopia (no green cones)#264D8B0.081
Tritanopia (no blue cones)#504E5F0.099
Achromatopsia (no color)#4E4E4E0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B3E8D

    #5B3E8D

    oklch(43.6% 0.127 297.9)

  • #4D5800

    #4D5800

    oklch(43.5% 0.101 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B3E8D

    #5B3E8D

    oklch(43.6% 0.127 297.9)

  • #344B96

    #344B96

    oklch(43.6% 0.126 268)

  • #753374

    #753374

    oklch(43.6% 0.127 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B3E8D

    #5B3E8D

    oklch(43.6% 0.127 297.9)

  • #664E00

    #664E00

    oklch(43.7% 0.089 88.2)

  • #006324

    #006324

    oklch(43.6% 0.126 148)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B3E8D

    #5B3E8D

    oklch(43.6% 0.127 297.9)

  • #7B4000

    #7B4000

    oklch(43.7% 0.105 57.9)

  • #006051

    #006051

    oklch(43.7% 0.081 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B3E8D

    #5B3E8D

    oklch(43.6% 0.127 297.9)

  • #8A2E27

    #8A2E27

    oklch(43.7% 0.127 27.8)

  • #4D5800

    #4D5800

    oklch(43.5% 0.101 117.8)

  • #005D67

    #005D67

    oklch(43.7% 0.075 207.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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