#5B404F

Closest named color: Purple Brown (#673A3F). oklch(40.7% 0.044 344.8), rgb(91, 64, 79).

Aa

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

About this color

#5B404F is a dark, muted purple. In OKLCH its lightness is 41%, its chroma 0.044 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.033 away. White text reads best on it, at 9.16:1.

Hue familyPurples
Lightnessdark (41%)
Chromamuted (0.044)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text2.29:1
White text9.16:1

Values

HEX#5B404F
RGBrgb(91, 64, 79)
HSLhsl(327, 17%, 30%)
OKLCHoklch(40.7% 0.044 344.8)

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 #5B404F 9.16:1 AAA Lc -95.4 Preferred for body text
Black text on #5B404F 2.29:1 Fails Lc 12.9 Not readable
#5B404F text on white 9.16:1 AAA Lc 91.1 Preferred for body text
#5B404F text on black 2.29:1 Fails Lc -11.3 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

    #EEE8EB

    oklch(93.7% 0.008 345.4)

  3. Step 200

    200

    #E1D6DB

    oklch(88.6% 0.014 348)

  4. Step 300

    300

    #CEBAC4

    oklch(80.9% 0.026 346)

  5. Step 400

    400

    #B497A6

    oklch(70.7% 0.04 345.7)

  6. Step 500

    500

    #A17D91

    oklch(63.1% 0.052 344.3)

  7. Step 600

    600

    #8C667B

    oklch(55.6% 0.057 344.8)

  8. Step 700

    700

    #775568

    oklch(49.2% 0.053 344.6)

  9. Step 800

    800 (this color)

    #5B404F

    oklch(40.7% 0.044 344.8)

  10. Step 900

    900

    #4F3A46

    oklch(37.6% 0.035 343.7)

  11. Step 950

    950

    #2E2229

    oklch(26.9% 0.022 342.8)

Export this scale for Tailwind in the Tailwind colors tool

#5B404F 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)#4245500.044
Deuteranopia (no green cones)#48494E0.041
Tritanopia (no blue cones)#5F40450.018
Achromatopsia (no color)#4848480.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B404F

    #5B404F

    oklch(40.7% 0.044 344.8)

  • #325143

    #325143

    oklch(40.6% 0.044 164.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B404F

    #5B404F

    oklch(40.7% 0.044 344.8)

  • #52425A

    #52425A

    oklch(40.5% 0.044 314.3)

  • #5F4042

    #5F4042

    oklch(40.7% 0.044 14.9)

Open the analogous palette in the generator

Split complementary

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

  • #5B404F

    #5B404F

    oklch(40.7% 0.044 344.8)

  • #3F4F37

    #3F4F37

    oklch(40.7% 0.044 135.4)

  • #2B5151

    #2B5151

    oklch(40.7% 0.043 195.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B404F

    #5B404F

    oklch(40.7% 0.044 344.8)

  • #4D4B2F

    #4D4B2F

    oklch(40.7% 0.043 104.7)

  • #2E4F5B

    #2E4F5B

    oklch(40.7% 0.044 223.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B404F

    #5B404F

    oklch(40.7% 0.044 344.8)

  • #58462E

    #58462E

    oklch(40.7% 0.044 74)

  • #325143

    #325143

    oklch(40.6% 0.044 164.2)

  • #394B61

    #394B61

    oklch(40.7% 0.044 253.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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