#5B474B

Closest named color: Purple Brown (#673A3F). oklch(42% 0.028 4.9), rgb(91, 71, 75).

Aa

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

About this color

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

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

Values

HEX#5B474B
RGBrgb(91, 71, 75)
HSLhsl(348, 12%, 32%)
OKLCHoklch(42% 0.028 4.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 #5B474B 8.57:1 AAA Lc -94.0 Preferred for body text
Black text on #5B474B 2.44:1 Fails Lc 14.5 Not readable
#5B474B text on white 8.57:1 AAA Lc 89.5 Fine for body text
#5B474B text on black 2.44: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

    #EDE8E9

    oklch(93.5% 0.006 3.3)

  3. Step 200

    200

    #DFD7D8

    oklch(88.6% 0.009 8.6)

  4. Step 300

    300

    #CBBCBF

    oklch(80.9% 0.017 3.8)

  5. Step 400

    400

    #B09A9E

    oklch(70.7% 0.027 5.4)

  6. Step 500

    500

    #9C8187

    oklch(63% 0.034 3.2)

  7. Step 600

    600

    #876B70

    oklch(55.7% 0.036 6.3)

  8. Step 700

    700

    #72595E

    oklch(49.1% 0.034 5)

  9. Step 800

    800 (this color)

    #5B474B

    oklch(42% 0.028 4.9)

  10. Step 900

    900

    #4C3D40

    oklch(37.7% 0.021 4.7)

  11. Step 950

    950

    #2D2425

    oklch(27.1% 0.014 10.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B474B 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)#4A4A4B0.030
Deuteranopia (no green cones)#4E4D4B0.028
Tritanopia (no blue cones)#5F46480.008
Achromatopsia (no color)#4C4C4C0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B474B

    #5B474B

    oklch(42% 0.028 4.9)

  • #3C524F

    #3C524F

    oklch(41.9% 0.027 185.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B474B

    #5B474B

    oklch(42% 0.028 4.9)

  • #574853

    #574853

    oklch(42.1% 0.027 335.6)

  • #5B4843

    #5B4843

    oklch(42% 0.027 35.2)

Open the analogous palette in the generator

Split complementary

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

  • #5B474B

    #5B474B

    oklch(42% 0.028 4.9)

  • #415246

    #415246

    oklch(42% 0.029 154.3)

  • #3C5157

    #3C5157

    oklch(42% 0.028 217.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B474B

    #5B474B

    oklch(42% 0.028 4.9)

  • #4A503F

    #4A503F

    oklch(42.1% 0.028 123.4)

  • #414F5C

    #414F5C

    oklch(42.1% 0.028 246.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B474B

    #5B474B

    oklch(42% 0.028 4.9)

  • #524D3C

    #524D3C

    oklch(42% 0.028 93.6)

  • #3C524F

    #3C524F

    oklch(41.9% 0.027 185.8)

  • #484C5D

    #484C5D

    oklch(42% 0.029 274.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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