#5B3151

Closest named color: Purple Brown (#673A3F). oklch(37.8% 0.076 336.5), rgb(91, 49, 81).

Aa

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

About this color

#5B3151 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.076 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.053 away. White text reads best on it, at 10.48:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text2.00:1
White text10.48:1

Values

HEX#5B3151
RGBrgb(91, 49, 81)
HSLhsl(314, 30%, 27%)
OKLCHoklch(37.8% 0.076 336.5)

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 #5B3151 10.48:1 AAA Lc -98.1 Preferred for body text
Black text on #5B3151 2.00:1 Fails Lc 9.8 Not readable
#5B3151 text on white 10.48:1 AAA Lc 94.1 Preferred for body text
#5B3151 text on black 2.00:1 Fails Lc -8.4 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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F2E6EE

    oklch(93.7% 0.017 337.6)

  3. Step 200

    200

    #E8D2E1

    oklch(88.6% 0.031 337.3)

  4. Step 300

    300

    #D9B3CF

    oklch(80.9% 0.057 335.6)

  5. Step 400

    400

    #C58BB6

    oklch(70.7% 0.091 336.3)

  6. Step 500

    500

    #B66CA4

    oklch(63.1% 0.119 336.5)

  7. Step 600

    600

    #A1538F

    oklch(55.6% 0.128 336.6)

  8. Step 700

    700

    #894379

    oklch(49% 0.118 336.6)

  9. Step 800

    800

    #703863

    oklch(42.8% 0.098 336.6)

  10. Step 900

    900 (this color)

    #5B3151

    oklch(37.8% 0.076 336.5)

  11. Step 950

    950

    #351D2F

    oklch(27% 0.047 336.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B3151 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)#323B520.076
Deuteranopia (no green cones)#3D42500.070
Tritanopia (no blue cones)#5F333D0.038
Achromatopsia (no color)#3F3F3F0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B3151

    #5B3151

    oklch(37.8% 0.076 336.5)

  • #174E31

    #174E31

    oklch(37.9% 0.076 156.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B3151

    #5B3151

    oklch(37.8% 0.076 336.5)

  • #4C3662

    #4C3662

    oklch(37.8% 0.077 306.1)

  • #632F3B

    #632F3B

    oklch(37.8% 0.076 6.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B3151

    #5B3151

    oklch(37.8% 0.076 336.5)

  • #374918

    #374918

    oklch(37.8% 0.076 126.8)

  • #004D47

    #004D47

    oklch(37.8% 0.066 185.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B3151

    #5B3151

    oklch(37.8% 0.076 336.5)

  • #4E4103

    #4E4103

    oklch(37.8% 0.076 95.8)

  • #004A59

    #004A59

    oklch(37.7% 0.067 217.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B3151

    #5B3151

    oklch(37.8% 0.076 336.5)

  • #5D390C

    #5D390C

    oklch(38% 0.076 66.6)

  • #174E31

    #174E31

    oklch(37.9% 0.076 156.5)

  • #1A4568

    #1A4568

    oklch(37.8% 0.076 246.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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