#5B474D

Closest named color: Purple Brown (#673A3F). oklch(42.1% 0.029 358.6), rgb(91, 71, 77).

Aa

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

About this color

#5B474D is a dark close to neutral grey. In OKLCH its lightness is 42%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Purple Brown (#673A3F), ΔE 0.040 away. White text reads best on it, at 8.55:1.

Hue familyNeutrals
Lightnessdark (42%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest namePurple Brown (#673A3F)
Black text2.45:1
White text8.55:1

Values

HEX#5B474D
RGBrgb(91, 71, 77)
HSLhsl(342, 12%, 32%)
OKLCHoklch(42.1% 0.029 358.6)

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 #5B474D 8.55:1 AAA Lc -93.9 Preferred for body text
Black text on #5B474D 2.45:1 Fails Lc 14.6 Not readable
#5B474D text on white 8.55:1 AAA Lc 89.4 Fine for body text
#5B474D text on black 2.45:1 Fails Lc -12.8 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

    #F7F5F5

    oklch(97.2% 0.002 17.2)

  2. Step 100

    100

    #EDE8EA

    oklch(93.5% 0.006 350.8)

  3. Step 200

    200

    #DFD7D9

    oklch(88.6% 0.009 0.2)

  4. Step 300

    300

    #CABCC0

    oklch(80.8% 0.017 358.1)

  5. Step 400

    400

    #B09AA0

    oklch(70.7% 0.027 359.5)

  6. Step 500

    500

    #9C8189

    oklch(63.1% 0.035 358.4)

  7. Step 600

    600

    #866B73

    oklch(55.7% 0.036 358.7)

  8. Step 700

    700

    #725960

    oklch(49.2% 0.034 359.9)

  9. Step 800

    800 (this color)

    #5B474D

    oklch(42.1% 0.029 358.6)

  10. Step 900

    900

    #4C3D41

    oklch(37.7% 0.022 0.4)

  11. Step 950

    950

    #2D2426

    oklch(27.1% 0.014 3.1)

Export this scale for Tailwind in the Tailwind colors tool

#5B474D 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)#494A4D0.031
Deuteranopia (no green cones)#4E4D4D0.027
Tritanopia (no blue cones)#5F46490.009
Achromatopsia (no color)#4C4C4C0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B474D

    #5B474D

    oklch(42.1% 0.029 358.6)

  • #3C534D

    #3C534D

    oklch(42.1% 0.03 176.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B474D

    #5B474D

    oklch(42.1% 0.029 358.6)

  • #564855

    #564855

    oklch(42.1% 0.028 328.3)

  • #5C4844

    #5C4844

    oklch(42.1% 0.028 31.3)

Open the analogous palette in the generator

Split complementary

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

  • #5B474D

    #5B474D

    oklch(42.1% 0.029 358.6)

  • #435245

    #435245

    oklch(42.1% 0.028 148.8)

  • #3B5256

    #3B5256

    oklch(42.1% 0.029 209.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B474D

    #5B474D

    oklch(42.1% 0.029 358.6)

  • #4C503E

    #4C503E

    oklch(42.2% 0.029 117.8)

  • #3F505C

    #3F505C

    oklch(42.2% 0.029 239.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B474D

    #5B474D

    oklch(42.1% 0.029 358.6)

  • #544D3B

    #544D3B

    oklch(42.2% 0.03 89.3)

  • #3C534D

    #3C534D

    oklch(42.1% 0.03 176.9)

  • #474D5E

    #474D5E

    oklch(42.1% 0.029 269.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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