#311D2C

Closest named color: Jet (#212529). oklch(26.3% 0.04 336.3), rgb(49, 29, 44).

Aa

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

About this color

#311D2C is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.040 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.041 away. White text reads best on it, at 15.64:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.040)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.34:1
White text15.64:1

Values

HEX#311D2C
RGBrgb(49, 29, 44)
HSLhsl(315, 26%, 15%)
OKLCHoklch(26.3% 0.04 336.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 #311D2C 15.64:1 AAA Lc -105.2 Preferred for body text
Black text on #311D2C 1.34:1 Fails Lc 0.0 Not readable
#311D2C text on white 15.64:1 AAA Lc 102.5 Preferred for body text
#311D2C 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E7ED

    oklch(93.7% 0.013 337.5)

  3. Step 200

    200

    #E5D3E0

    oklch(88.5% 0.026 335.5)

  4. Step 300

    300

    #D5B6CC

    oklch(81% 0.046 336.5)

  5. Step 400

    400

    #BF8FB3

    oklch(70.7% 0.075 335.6)

  6. Step 500

    500

    #AF72A0

    oklch(63.1% 0.098 336.1)

  7. Step 600

    600

    #9A5A8A

    oklch(55.6% 0.105 336.8)

  8. Step 700

    700

    #834A76

    oklch(49.2% 0.098 336)

  9. Step 800

    800

    #6B3D60

    oklch(42.8% 0.081 336.3)

  10. Step 900

    900

    #57344E

    oklch(37.7% 0.064 336.8)

  11. Step 950

    950 (this color)

    #311D2C

    oklch(26.3% 0.04 336.3)

Export this scale for Tailwind in the Tailwind colors tool

#311D2C 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)#1D222D0.040
Deuteranopia (no green cones)#22242B0.036
Tritanopia (no blue cones)#331E220.021
Achromatopsia (no color)#2323230.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #311D2C

    #311D2C

    oklch(26.3% 0.04 336.3)

  • #132B1D

    #132B1D

    oklch(26.5% 0.04 156.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #311D2C

    #311D2C

    oklch(26.3% 0.04 336.3)

  • #2A1F34

    #2A1F34

    oklch(26.2% 0.041 307.8)

  • #351C22

    #351C22

    oklch(26.2% 0.04 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #311D2C

    #311D2C

    oklch(26.3% 0.04 336.3)

  • #202812

    #202812

    oklch(26.2% 0.04 125.4)

  • #072B28

    #072B28

    oklch(26.3% 0.04 187)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #311D2C

    #311D2C

    oklch(26.3% 0.04 336.3)

  • #2A250C

    #2A250C

    oklch(26.4% 0.04 98.2)

  • #082931

    #082931

    oklch(26.2% 0.04 217.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #311D2C

    #311D2C

    oklch(26.3% 0.04 336.3)

  • #32210E

    #32210E

    oklch(26.4% 0.04 67.6)

  • #132B1D

    #132B1D

    oklch(26.5% 0.04 156.6)

  • #132637

    #132637

    oklch(26.1% 0.041 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #311D2C 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.