#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 family | Browns |
| Lightness | dark (26%) |
| Chroma | muted (0.041) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.34:1 |
| White text | 15.62:1 |
Values
| HEX | #331F0F |
| RGB | rgb(51, 31, 15) |
| HSL | hsl(27, 55%, 13%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F9F4F1
oklch(97% 0.007 53.4)
-
Step 100
100
#F1E8E1
oklch(93.6% 0.014 60.6)
-
Step 200
200
#E7D5C8
oklch(88.4% 0.027 58.3)
-
Step 300
300
#D9BAA2
oklch(80.9% 0.048 59.8)
-
Step 400
400
#C69570
oklch(70.8% 0.078 58.1)
-
Step 500
500
#B67A49
oklch(63.1% 0.099 58.8)
-
Step 600
600
#A1622B
oklch(55.6% 0.107 58.7)
-
Step 700
700
#8A511D
oklch(49.2% 0.1 58.9)
-
Step 800
800
#70421B
oklch(42.6% 0.083 57.9)
-
Step 900
900
#5B381C
oklch(37.6% 0.065 57.7)
-
Step 950
950 (this color)
#331F0F
oklch(26.1% 0.041 58.3)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #25210E | 0.030 |
| Deuteranopia (no green cones) | #2A250F | 0.026 |
| Tritanopia (no blue cones) | #381B1B | 0.029 |
| Achromatopsia (no color) | #232323 | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Dark Brown #341C02 ΔE 0.016
- Chocolate Brown #411900 ΔE 0.033
- Jet #212529 ΔE 0.050
- Deep Brown #410200 ΔE 0.065
- Dark #1B2431 ΔE 0.068
- Mahogany #4A0100 ΔE 0.071
- Dark Maroon #3C0008 ΔE 0.073
- Pakistan Green #283618 ΔE 0.075
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.