#331F0F

Closest named color: Dark Brown (#341C02). oklch(26.1% 0.041 58.3), rgb(51, 31, 15).

Aa

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

About this color

#331F0F is a dark, muted brown. In OKLCH its lightness is 26%, its chroma 0.041 and its hue 58°. 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.62:1.

Hue familyBrowns
Lightnessdark (26%)
Chromamuted (0.041)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.34:1
White text15.62:1

Values

HEX#331F0F
RGBrgb(51, 31, 15)
HSLhsl(27, 55%, 13%)
OKLCHoklch(26.1% 0.041 58.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 #331F0F 15.62:1 AAA Lc -105.1 Preferred for body text
Black text on #331F0F 1.34:1 Fails Lc 0.0 Not readable
#331F0F text on white 15.62:1 AAA Lc 102.5 Preferred for body text
#331F0F text on black 1.34: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

    #F1E8E1

    oklch(93.6% 0.014 60.6)

  3. Step 200

    200

    #E7D5C8

    oklch(88.4% 0.027 58.3)

  4. Step 300

    300

    #D9BAA2

    oklch(80.9% 0.048 59.8)

  5. Step 400

    400

    #C69570

    oklch(70.8% 0.078 58.1)

  6. Step 500

    500

    #B67A49

    oklch(63.1% 0.099 58.8)

  7. Step 600

    600

    #A1622B

    oklch(55.6% 0.107 58.7)

  8. Step 700

    700

    #8A511D

    oklch(49.2% 0.1 58.9)

  9. Step 800

    800

    #70421B

    oklch(42.6% 0.083 57.9)

  10. Step 900

    900

    #5B381C

    oklch(37.6% 0.065 57.7)

  11. Step 950

    950 (this color)

    #331F0F

    oklch(26.1% 0.041 58.3)

Export this scale for Tailwind in the Tailwind colors tool

#331F0F 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)#25210E0.030
Deuteranopia (no green cones)#2A250F0.026
Tritanopia (no blue cones)#381B1B0.029
Achromatopsia (no color)#2323230.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #331F0F

    #331F0F

    oklch(26.1% 0.041 58.3)

  • #0F2736

    #0F2736

    oklch(26.1% 0.041 238.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331F0F

    #331F0F

    oklch(26.1% 0.041 58.3)

  • #361C19

    #361C19

    oklch(26.1% 0.042 27.3)

  • #2C230A

    #2C230A

    oklch(26% 0.041 89.4)

Open the analogous palette in the generator

Split complementary

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

  • #331F0F

    #331F0F

    oklch(26.1% 0.041 58.3)

  • #052A2F

    #052A2F

    oklch(26.2% 0.041 208.2)

  • #1C2338

    #1C2338

    oklch(26% 0.041 269.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331F0F

    #331F0F

    oklch(26.1% 0.041 58.3)

  • #082B24

    #082B24

    oklch(26.2% 0.042 176.9)

  • #272035

    #272035

    oklch(26.2% 0.04 299)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331F0F

    #331F0F

    oklch(26.1% 0.041 58.3)

  • #162A19

    #162A19

    oklch(26.2% 0.041 147.9)

  • #0F2736

    #0F2736

    oklch(26.1% 0.041 238.5)

  • #2F1D2E

    #2F1D2E

    oklch(26.1% 0.04 328.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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