#331E07

Closest named color: Dark Brown (#341C02). oklch(25.7% 0.048 65.2), rgb(51, 30, 7).

Aa

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

About this color

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

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

Values

HEX#331E07
RGBrgb(51, 30, 7)
HSLhsl(31, 76%, 11%)
OKLCHoklch(25.7% 0.048 65.2)

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 #331E07 15.79:1 AAA Lc -105.3 Preferred for body text
Black text on #331E07 1.32:1 Fails Lc 0.0 Not readable
#331E07 text on white 15.79:1 AAA Lc 102.6 Preferred for body text
#331E07 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

    #F9F4F0

    oklch(97% 0.008 61.5)

  2. Step 100

    100

    #F2E8DF

    oklch(93.6% 0.016 64.7)

  3. Step 200

    200

    #E8D5C4

    oklch(88.4% 0.031 64.3)

  4. Step 300

    300

    #DBBA9B

    oklch(81% 0.057 65.1)

  5. Step 400

    400

    #C89562

    oklch(70.7% 0.091 65.4)

  6. Step 500

    500

    #B97933

    oklch(63% 0.116 65)

  7. Step 600

    600

    #A46100

    oklch(55.6% 0.125 64.9)

  8. Step 700

    700

    #8A5100

    oklch(49% 0.11 65.1)

  9. Step 800

    800

    #724200

    oklch(42.7% 0.096 65.1)

  10. Step 900

    900

    #5D380D

    oklch(37.8% 0.076 64.8)

  11. Step 950

    950 (this color)

    #331E07

    oklch(25.7% 0.048 65.2)

Export this scale for Tailwind in the Tailwind colors tool

#331E07 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)#2520050.031
Deuteranopia (no green cones)#2A25070.029
Tritanopia (no blue cones)#3819190.037
Achromatopsia (no color)#2323230.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #331E07

    #331E07

    oklch(25.7% 0.048 65.2)

  • #0D2539

    #0D2539

    oklch(25.6% 0.048 246.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331E07

    #331E07

    oklch(25.7% 0.048 65.2)

  • #371A13

    #371A13

    oklch(25.7% 0.048 34.6)

  • #2B2304

    #2B2304

    oklch(25.8% 0.048 94.5)

Open the analogous palette in the generator

Split complementary

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

  • #331E07

    #331E07

    oklch(25.7% 0.048 65.2)

  • #002931

    #002931

    oklch(25.8% 0.045 214.2)

  • #1D213A

    #1D213A

    oklch(25.7% 0.047 275.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331E07

    #331E07

    oklch(25.7% 0.048 65.2)

  • #002A26

    #002A26

    oklch(25.6% 0.045 185.2)

  • #291D36

    #291D36

    oklch(25.8% 0.048 305.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331E07

    #331E07

    oklch(25.7% 0.048 65.2)

  • #0D2A19

    #0D2A19

    oklch(25.7% 0.048 155.2)

  • #0D2539

    #0D2539

    oklch(25.6% 0.048 246.3)

  • #311A2C

    #311A2C

    oklch(25.7% 0.047 335.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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