#5A474C

Closest named color: Purple Brown (#673A3F). oklch(42% 0.027 0.8), rgb(90, 71, 76).

Aa

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

About this color

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

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

Values

HEX#5A474C
RGBrgb(90, 71, 76)
HSLhsl(344, 12%, 32%)
OKLCHoklch(42% 0.027 0.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 #5A474C 8.60:1 AAA Lc -94.1 Preferred for body text
Black text on #5A474C 2.44:1 Fails Lc 14.4 Not readable
#5A474C text on white 8.60:1 AAA Lc 89.6 Fine for body text
#5A474C text on black 2.44:1 Fails Lc -12.7 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

    #EDE9E9

    oklch(93.7% 0.004 17.2)

  3. Step 200

    200

    #DED7D9

    oklch(88.5% 0.008 357.8)

  4. Step 300

    300

    #CABDC0

    oklch(81% 0.015 1.6)

  5. Step 400

    400

    #AF9AA0

    oklch(70.6% 0.026 358.6)

  6. Step 500

    500

    #9B8288

    oklch(63.2% 0.032 1.9)

  7. Step 600

    600

    #866B72

    oklch(55.6% 0.036 1)

  8. Step 700

    700

    #715960

    oklch(49.1% 0.033 359.1)

  9. Step 800

    800 (this color)

    #5A474C

    oklch(42% 0.027 0.8)

  10. Step 900

    900

    #4C3D41

    oklch(37.7% 0.022 0.4)

  11. Step 950

    950

    #2C2426

    oklch(27% 0.013 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#5A474C 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)#494A4C0.030
Deuteranopia (no green cones)#4E4D4C0.026
Tritanopia (no blue cones)#5D46490.007
Achromatopsia (no color)#4C4C4C0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A474C

    #5A474C

    oklch(42% 0.027 0.8)

  • #3D524E

    #3D524E

    oklch(42% 0.027 182)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A474C

    #5A474C

    oklch(42% 0.027 0.8)

  • #564854

    #564854

    oklch(42% 0.027 330.8)

  • #5B4844

    #5B4844

    oklch(42% 0.027 32)

Open the analogous palette in the generator

Split complementary

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

  • #5A474C

    #5A474C

    oklch(42% 0.027 0.8)

  • #435145

    #435145

    oklch(41.9% 0.026 149.2)

  • #3C5155

    #3C5155

    oklch(41.9% 0.027 210.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A474C

    #5A474C

    oklch(42% 0.027 0.8)

  • #4B4F3F

    #4B4F3F

    oklch(41.9% 0.026 118.9)

  • #404F5B

    #404F5B

    oklch(41.9% 0.028 242.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A474C

    #5A474C

    oklch(42% 0.027 0.8)

  • #524D3C

    #524D3C

    oklch(42% 0.028 93.6)

  • #3D524E

    #3D524E

    oklch(42% 0.027 182)

  • #474C5C

    #474C5C

    oklch(41.8% 0.027 271.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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