#5B404D

Closest named color: Purple Brown (#673A3F). oklch(40.6% 0.042 348.7), rgb(91, 64, 77).

Aa

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

About this color

#5B404D is a dark, muted red. In OKLCH its lightness is 41%, its chroma 0.042 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.031 away. White text reads best on it, at 9.18:1.

Hue familyReds
Lightnessdark (41%)
Chromamuted (0.042)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text2.28:1
White text9.18:1

Values

HEX#5B404D
RGBrgb(91, 64, 77)
HSLhsl(331, 17%, 30%)
OKLCHoklch(40.6% 0.042 348.7)

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 #5B404D 9.18:1 AAA Lc -95.5 Preferred for body text
Black text on #5B404D 2.28:1 Fails Lc 12.8 Not readable
#5B404D text on white 9.18:1 AAA Lc 91.1 Preferred for body text
#5B404D text on black 2.28:1 Fails Lc -11.2 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

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EEE8EA

    oklch(93.6% 0.007 354.8)

  3. Step 200

    200

    #E1D6DA

    oklch(88.6% 0.013 353.2)

  4. Step 300

    300

    #CEBAC3

    oklch(80.8% 0.026 348.7)

  5. Step 400

    400

    #B497A5

    oklch(70.7% 0.039 347.5)

  6. Step 500

    500

    #A27D8E

    oklch(63.1% 0.051 349.4)

  7. Step 600

    600

    #8C6679

    oklch(55.5% 0.056 347.6)

  8. Step 700

    700

    #775565

    oklch(49.1% 0.051 349.3)

  9. Step 800

    800 (this color)

    #5B404D

    oklch(40.6% 0.042 348.7)

  10. Step 900

    900

    #4F3B44

    oklch(37.7% 0.031 350)

  11. Step 950

    950

    #2E2228

    oklch(26.8% 0.021 347.1)

Export this scale for Tailwind in the Tailwind colors tool

#5B404D 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)#42454E0.044
Deuteranopia (no green cones)#48494C0.042
Tritanopia (no blue cones)#5F3F440.016
Achromatopsia (no color)#4848480.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B404D

    #5B404D

    oklch(40.6% 0.042 348.7)

  • #315145

    #315145

    oklch(40.6% 0.043 168.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B404D

    #5B404D

    oklch(40.6% 0.042 348.7)

  • #534258

    #534258

    oklch(40.5% 0.042 318.4)

  • #5E4040

    #5E4040

    oklch(40.5% 0.042 19.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B404D

    #5B404D

    oklch(40.6% 0.042 348.7)

  • #3E4F39

    #3E4F39

    oklch(40.6% 0.042 138.6)

  • #2C5052

    #2C5052

    oklch(40.5% 0.042 200.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B404D

    #5B404D

    oklch(40.6% 0.042 348.7)

  • #4B4B30

    #4B4B30

    oklch(40.5% 0.042 108.1)

  • #304E5C

    #304E5C

    oklch(40.6% 0.043 229.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B404D

    #5B404D

    oklch(40.6% 0.042 348.7)

  • #56472F

    #56472F

    oklch(40.7% 0.042 78.9)

  • #315145

    #315145

    oklch(40.6% 0.043 168.5)

  • #3B4A60

    #3B4A60

    oklch(40.6% 0.042 257.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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