#331E0A

Closest named color: Dark Brown (#341C02). oklch(25.8% 0.045 61.9), rgb(51, 30, 10).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (26%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.33:1
White text15.77:1

Values

HEX#331E0A
RGBrgb(51, 30, 10)
HSLhsl(29, 67%, 12%)
OKLCHoklch(25.8% 0.045 61.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 #331E0A 15.77:1 AAA Lc -105.2 Preferred for body text
Black text on #331E0A 1.33:1 Fails Lc 0.0 Not readable
#331E0A text on white 15.77:1 AAA Lc 102.6 Preferred for body text
#331E0A text on black 1.33: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

    #F2E8E0

    oklch(93.7% 0.015 61.3)

  3. Step 200

    200

    #E8D5C6

    oklch(88.4% 0.029 60.7)

  4. Step 300

    300

    #DBB99E

    oklch(80.8% 0.054 60.4)

  5. Step 400

    400

    #C89568

    oklch(70.8% 0.086 62.2)

  6. Step 500

    500

    #B9793D

    oklch(63.1% 0.11 61.6)

  7. Step 600

    600

    #A46116

    oklch(55.7% 0.119 62.2)

  8. Step 700

    700

    #8C5004

    oklch(49.1% 0.111 62.6)

  9. Step 800

    800

    #72420B

    oklch(42.8% 0.092 62.6)

  10. Step 900

    900

    #5C3814

    oklch(37.7% 0.071 62.3)

  11. Step 950

    950 (this color)

    #331E0A

    oklch(25.8% 0.045 61.9)

Export this scale for Tailwind in the Tailwind colors tool

#331E0A 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)#2520080.030
Deuteranopia (no green cones)#29250A0.030
Tritanopia (no blue cones)#38191A0.035
Achromatopsia (no color)#2323230.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #331E0A

    #331E0A

    oklch(25.8% 0.045 61.9)

  • #0D2637

    #0D2637

    oklch(25.8% 0.045 241.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331E0A

    #331E0A

    oklch(25.8% 0.045 61.9)

  • #361B15

    #361B15

    oklch(25.8% 0.045 33.5)

  • #2B2306

    #2B2306

    oklch(25.8% 0.045 93.6)

Open the analogous palette in the generator

Split complementary

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

  • #331E0A

    #331E0A

    oklch(25.8% 0.045 61.9)

  • #002930

    #002930

    oklch(25.8% 0.045 211.9)

  • #1C2239

    #1C2239

    oklch(25.8% 0.044 271.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331E0A

    #331E0A

    oklch(25.8% 0.045 61.9)

  • #012A25

    #012A25

    oklch(25.6% 0.045 182.7)

  • #281E36

    #281E36

    oklch(25.9% 0.046 302.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331E0A

    #331E0A

    oklch(25.8% 0.045 61.9)

  • #112A18

    #112A18

    oklch(25.9% 0.046 151.1)

  • #0D2637

    #0D2637

    oklch(25.8% 0.045 241.2)

  • #301B2D

    #301B2D

    oklch(25.8% 0.045 332)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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