#331A04

Closest named color: Dark Brown (#341C02). oklch(24.8% 0.052 59), rgb(51, 26, 4).

Aa

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

About this color

#331A04 is a very dark, muted brown. In OKLCH its lightness is 25%, its chroma 0.052 and its hue 59°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.008 away. White text reads best on it, at 16.27:1.

Hue familyBrowns
Lightnessvery dark (25%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.29:1
White text16.27:1

Values

HEX#331A04
RGBrgb(51, 26, 4)
HSLhsl(28, 85%, 11%)
OKLCHoklch(24.8% 0.052 59)

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 #331A04 16.27:1 AAA Lc -105.6 Preferred for body text
Black text on #331A04 1.29:1 Fails Lc 0.0 Not readable
#331A04 text on white 16.27:1 AAA Lc 103.1 Preferred for body text
#331A04 text on black 1.29: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

    #FAF4F0

    oklch(97.1% 0.008 56.3)

  2. Step 100

    100

    #F3E7DE

    oklch(93.5% 0.018 59.5)

  3. Step 200

    200

    #EBD4C3

    oklch(88.4% 0.034 58.8)

  4. Step 300

    300

    #DFB899

    oklch(80.9% 0.062 60.2)

  5. Step 400

    400

    #CF9160

    oklch(70.7% 0.099 58.6)

  6. Step 500

    500

    #C1742F

    oklch(63.1% 0.127 58.7)

  7. Step 600

    600

    #AA5C00

    oklch(55.5% 0.132 58.7)

  8. Step 700

    700

    #904D00

    oklch(49.1% 0.117 58.7)

  9. Step 800

    800

    #763F00

    oklch(42.7% 0.101 59.7)

  10. Step 900

    900

    #61350A

    oklch(37.7% 0.082 58.9)

  11. Step 950

    950 (this color)

    #331A04

    oklch(24.8% 0.052 59)

Export this scale for Tailwind in the Tailwind colors tool

#331A04 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)#221D020.038
Deuteranopia (no green cones)#2822040.034
Tritanopia (no blue cones)#3914150.037
Achromatopsia (no color)#2020200.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #331A04

    #331A04

    oklch(24.8% 0.052 59)

  • #032437

    #032437

    oklch(24.8% 0.052 238.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331A04

    #331A04

    oklch(24.8% 0.052 59)

  • #361612

    #361612

    oklch(24.7% 0.052 28.7)

  • #2B1F00

    #2B1F00

    oklch(24.7% 0.05 87.7)

Open the analogous palette in the generator

Split complementary

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

  • #331A04

    #331A04

    oklch(24.8% 0.052 59)

  • #00262C

    #00262C

    oklch(24.6% 0.043 210.4)

  • #171F3A

    #171F3A

    oklch(24.7% 0.053 269.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331A04

    #331A04

    oklch(24.8% 0.052 59)

  • #002821

    #002821

    oklch(24.8% 0.046 177.9)

  • #251B36

    #251B36

    oklch(24.8% 0.051 299.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331A04

    #331A04

    oklch(24.8% 0.052 59)

  • #0C2813

    #0C2813

    oklch(24.9% 0.052 149.4)

  • #032437

    #032437

    oklch(24.8% 0.052 238.8)

  • #2F172D

    #2F172D

    oklch(24.8% 0.053 330.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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