#31202C

Closest named color: Jet (#212529). oklch(26.9% 0.033 337.8), rgb(49, 32, 44).

Aa

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

About this color

#31202C is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.033 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.035 away. White text reads best on it, at 15.28:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.033)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.37:1
White text15.28:1

Values

HEX#31202C
RGBrgb(49, 32, 44)
HSLhsl(318, 21%, 16%)
OKLCHoklch(26.9% 0.033 337.8)

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 #31202C 15.28:1 AAA Lc -104.9 Preferred for body text
Black text on #31202C 1.37:1 Fails Lc 0.0 Not readable
#31202C text on white 15.28:1 AAA Lc 102.2 Preferred for body text
#31202C text on black 1.37: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

    #EFE7EC

    oklch(93.6% 0.011 339.3)

  3. Step 200

    200

    #E3D4DE

    oklch(88.5% 0.021 337.7)

  4. Step 300

    300

    #D2B7CA

    oklch(80.8% 0.04 336.6)

  5. Step 400

    400

    #BB92AE

    oklch(70.7% 0.062 338.2)

  6. Step 500

    500

    #A9779B

    oklch(63.1% 0.079 337.2)

  7. Step 600

    600

    #945F85

    oklch(55.6% 0.086 337.8)

  8. Step 700

    700

    #7E4E71

    oklch(49.1% 0.081 337.4)

  9. Step 800

    800

    #67405C

    oklch(42.7% 0.068 337.8)

  10. Step 900

    900

    #54374B

    oklch(37.8% 0.051 338.7)

  11. Step 950

    950 (this color)

    #31202C

    oklch(26.9% 0.033 337.8)

Export this scale for Tailwind in the Tailwind colors tool

#31202C 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)#20242C0.034
Deuteranopia (no green cones)#24262B0.031
Tritanopia (no blue cones)#3320240.015
Achromatopsia (no color)#2525250.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #31202C

    #31202C

    oklch(26.9% 0.033 337.8)

  • #182B20

    #182B20

    oklch(26.9% 0.032 157.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31202C

    #31202C

    oklch(26.9% 0.033 337.8)

  • #2B2233

    #2B2233

    oklch(27% 0.033 308.4)

  • #341F23

    #341F23

    oklch(26.8% 0.033 7.1)

Open the analogous palette in the generator

Split complementary

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

  • #31202C

    #31202C

    oklch(26.9% 0.033 337.8)

  • #222918

    #222918

    oklch(26.9% 0.032 126.6)

  • #112C29

    #112C29

    oklch(27.1% 0.034 185.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31202C

    #31202C

    oklch(26.9% 0.033 337.8)

  • #2B2613

    #2B2613

    oklch(26.9% 0.033 95.1)

  • #112A31

    #112A31

    oklch(26.8% 0.033 218.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31202C

    #31202C

    oklch(26.9% 0.033 337.8)

  • #312314

    #312314

    oklch(26.9% 0.033 67.6)

  • #182B20

    #182B20

    oklch(26.9% 0.032 157.9)

  • #192836

    #192836

    oklch(27% 0.033 247.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31202C 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.