#331D0F

Closest named color: Dark Brown (#341C02). oklch(25.6% 0.042 52.3), rgb(51, 29, 15).

Aa

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

About this color

#331D0F is a dark, muted brown. In OKLCH its lightness is 26%, its chroma 0.042 and its hue 52°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.016 away. White text reads best on it, at 15.86:1.

Hue familyBrowns
Lightnessdark (26%)
Chromamuted (0.042)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.32:1
White text15.86:1

Values

HEX#331D0F
RGBrgb(51, 29, 15)
HSLhsl(23, 55%, 13%)
OKLCHoklch(25.6% 0.042 52.3)

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 #331D0F 15.86:1 AAA Lc -105.3 Preferred for body text
Black text on #331D0F 1.32:1 Fails Lc 0.0 Not readable
#331D0F text on white 15.86:1 AAA Lc 102.7 Preferred for body text
#331D0F text on black 1.32:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F9F4F1

    oklch(97% 0.007 53.4)

  2. Step 100

    100

    #F2E7E1

    oklch(93.5% 0.014 50.8)

  3. Step 200

    200

    #E9D5C9

    oklch(88.6% 0.028 53.1)

  4. Step 300

    300

    #DCB8A4

    oklch(80.9% 0.05 50.7)

  5. Step 400

    400

    #C99372

    oklch(70.7% 0.08 52.5)

  6. Step 500

    500

    #BA774D

    oklch(63.1% 0.102 52)

  7. Step 600

    600

    #A55F2F

    oklch(55.6% 0.11 52.7)

  8. Step 700

    700

    #8D4E22

    oklch(49.1% 0.102 52.6)

  9. Step 800

    800

    #73401E

    oklch(42.7% 0.085 52)

  10. Step 900

    900

    #5D371E

    oklch(37.7% 0.066 52.7)

  11. Step 950

    950 (this color)

    #331D0F

    oklch(25.6% 0.042 52.3)

Export this scale for Tailwind in the Tailwind colors tool

#331D0F 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)#231F0E0.034
Deuteranopia (no green cones)#28240F0.031
Tritanopia (no blue cones)#38191A0.027
Achromatopsia (no color)#2222220.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #331D0F

    #331D0F

    oklch(25.6% 0.042 52.3)

  • #0A2634

    #0A2634

    oklch(25.5% 0.042 233.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331D0F

    #331D0F

    oklch(25.6% 0.042 52.3)

  • #351B1A

    #351B1A

    oklch(25.8% 0.041 22.7)

  • #2D2109

    #2D2109

    oklch(25.6% 0.042 82.3)

Open the analogous palette in the generator

Split complementary

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

  • #331D0F

    #331D0F

    oklch(25.6% 0.042 52.3)

  • #02292C

    #02292C

    oklch(25.7% 0.042 202.6)

  • #182337

    #182337

    oklch(25.6% 0.041 261.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331D0F

    #331D0F

    oklch(25.6% 0.042 52.3)

  • #082A21

    #082A21

    oklch(25.8% 0.043 172)

  • #241F36

    #241F36

    oklch(25.7% 0.043 293.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331D0F

    #331D0F

    oklch(25.6% 0.042 52.3)

  • #172815

    #172815

    oklch(25.6% 0.042 141.8)

  • #0A2634

    #0A2634

    oklch(25.5% 0.042 233.8)

  • #2D1C2F

    #2D1C2F

    oklch(25.7% 0.042 323)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #331D0F 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.