#5A331F

Closest named color: Purple Brown (#673A3F). oklch(36.5% 0.065 47.1), rgb(90, 51, 31).

Aa

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

About this color

#5A331F is a dark, muted brown. In OKLCH its lightness is 37%, its chroma 0.065 and its hue 47°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.055 away. White text reads best on it, at 10.89:1.

Hue familyBrowns
Lightnessdark (37%)
Chromamuted (0.065)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text1.92:1
White text10.89:1

Values

HEX#5A331F
RGBrgb(90, 51, 31)
HSLhsl(20, 49%, 24%)
OKLCHoklch(36.5% 0.065 47.1)

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 #5A331F 10.89:1 AAA Lc -98.9 Preferred for body text
Black text on #5A331F 1.92:1 Fails Lc 8.9 Not readable
#5A331F text on white 10.89:1 AAA Lc 95.0 Preferred for body text
#5A331F text on black 1.92:1 Fails Lc -7.6 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 900.

  1. Step 50

    50

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F2E7E2

    oklch(93.5% 0.014 46.2)

  3. Step 200

    200

    #E9D4CA

    oklch(88.4% 0.027 47.2)

  4. Step 300

    300

    #DCB8A6

    oklch(80.9% 0.049 48.1)

  5. Step 400

    400

    #C99277

    oklch(70.7% 0.077 47.2)

  6. Step 500

    500

    #BB7653

    oklch(63.1% 0.1 47.3)

  7. Step 600

    600

    #A65E38

    oklch(55.7% 0.108 47.3)

  8. Step 700

    700

    #8E4D2A

    oklch(49.1% 0.1 47.4)

  9. Step 800

    800

    #733F24

    oklch(42.6% 0.083 47)

  10. Step 900

    900 (this color)

    #5A331F

    oklch(36.5% 0.065 47.1)

  11. Step 950

    950

    #372014

    oklch(27% 0.041 48)

Export this scale for Tailwind in the Tailwind colors tool

#5A331F 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)#3E381D0.056
Deuteranopia (no green cones)#47401F0.051
Tritanopia (no blue cones)#622C2E0.037
Achromatopsia (no color)#3D3D3D0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A331F

    #5A331F

    oklch(36.5% 0.065 47.1)

  • #0C4559

    #0C4559

    oklch(36.6% 0.065 227.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A331F

    #5A331F

    oklch(36.5% 0.065 47.1)

  • #5C2F32

    #5C2F32

    oklch(36.5% 0.066 16.6)

  • #513911

    #513911

    oklch(36.4% 0.064 76.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A331F

    #5A331F

    oklch(36.5% 0.065 47.1)

  • #00484A

    #00484A

    oklch(36.5% 0.062 198)

  • #283F60

    #283F60

    oklch(36.5% 0.064 257.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A331F

    #5A331F

    oklch(36.5% 0.065 47.1)

  • #124937

    #124937

    oklch(36.4% 0.065 167.1)

  • #3C395F

    #3C395F

    oklch(36.6% 0.065 286.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A331F

    #5A331F

    oklch(36.5% 0.065 47.1)

  • #2E4623

    #2E4623

    oklch(36.5% 0.064 136.5)

  • #0C4559

    #0C4559

    oklch(36.6% 0.065 227.2)

  • #4C3355

    #4C3355

    oklch(36.5% 0.065 316.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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