#31241B

Closest named color: Dark Brown (#341C02). oklch(27.3% 0.025 56.1), rgb(49, 36, 27).

Aa

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

About this color

#31241B is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.035 away. White text reads best on it, at 15.01:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.39:1
White text15.01:1

Values

HEX#31241B
RGBrgb(49, 36, 27)
HSLhsl(25, 29%, 15%)
OKLCHoklch(27.3% 0.025 56.1)

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 #31241B 15.01:1 AAA Lc -104.7 Preferred for body text
Black text on #31241B 1.39:1 Fails Lc 0.0 Not readable
#31241B text on white 15.01:1 AAA Lc 101.9 Preferred for body text
#31241B text on black 1.39: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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E4

    oklch(93.5% 0.009 52.1)

  3. Step 200

    200

    #E2D7CF

    oklch(88.6% 0.016 58.6)

  4. Step 300

    300

    #D1BCAE

    oklch(80.9% 0.031 55.9)

  5. Step 400

    400

    #B99984

    oklch(70.6% 0.049 55)

  6. Step 500

    500

    #A78065

    oklch(63.1% 0.062 56)

  7. Step 600

    600

    #92694C

    oklch(55.6% 0.067 56.1)

  8. Step 700

    700

    #7C573D

    oklch(49% 0.063 55.8)

  9. Step 800

    800

    #654833

    oklch(42.8% 0.051 56.8)

  10. Step 900

    900

    #523C2D

    oklch(37.6% 0.039 55.5)

  11. Step 950

    950 (this color)

    #31241B

    oklch(27.3% 0.025 56.1)

Export this scale for Tailwind in the Tailwind colors tool

#31241B 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)#28251A0.018
Deuteranopia (no green cones)#2B281B0.017
Tritanopia (no blue cones)#3522220.018
Achromatopsia (no color)#2727270.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #31241B

    #31241B

    oklch(27.3% 0.025 56.1)

  • #1B2932

    #1B2932

    oklch(27.2% 0.025 237.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31241B

    #31241B

    oklch(27.3% 0.025 56.1)

  • #332221

    #332221

    oklch(27.3% 0.026 22.7)

  • #2D2619

    #2D2619

    oklch(27.2% 0.025 82.6)

Open the analogous palette in the generator

Split complementary

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

  • #31241B

    #31241B

    oklch(27.3% 0.025 56.1)

  • #182B2D

    #182B2D

    oklch(27.4% 0.025 204.3)

  • #212734

    #212734

    oklch(27.3% 0.026 265.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31241B

    #31241B

    oklch(27.3% 0.025 56.1)

  • #192B27

    #192B27

    oklch(27.2% 0.025 178.8)

  • #282532

    #282532

    oklch(27.3% 0.024 295.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31241B

    #31241B

    oklch(27.3% 0.025 56.1)

  • #1F2B20

    #1F2B20

    oklch(27.4% 0.026 147)

  • #1B2932

    #1B2932

    oklch(27.2% 0.025 237.1)

  • #2E232E

    #2E232E

    oklch(27.4% 0.025 326.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31241B 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.