#310B21

Closest named color: Dark Plum (#3F012C). oklch(22.5% 0.068 348.2), rgb(49, 11, 33).

Aa

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

About this color

#310B21 is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.068 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.042 away. White text reads best on it, at 17.49:1.

Hue familyReds
Lightnessvery dark (22%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.20:1
White text17.49:1

Values

HEX#310B21
RGBrgb(49, 11, 33)
HSLhsl(325, 63%, 12%)
OKLCHoklch(22.5% 0.068 348.2)

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 #310B21 17.49:1 AAA Lc -106.3 Preferred for body text
Black text on #310B21 1.20:1 Fails Lc 0.0 Not readable
#310B21 text on white 17.49:1 AAA Lc 104.0 Preferred for body text
#310B21 text on black 1.20: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F1CEDE

    oklch(88.6% 0.044 348.7)

  4. Step 300

    300

    #E9ACCA

    oklch(81% 0.081 348)

  5. Step 400

    400

    #DB7EAE

    oklch(70.8% 0.128 348.6)

  6. Step 500

    500

    #CE599A

    oklch(63.1% 0.164 348.4)

  7. Step 600

    600

    #B93A85

    oklch(55.5% 0.179 348.1)

  8. Step 700

    700

    #9F2B71

    oklch(49.1% 0.167 348)

  9. Step 800

    800

    #81265C

    oklch(42.7% 0.137 347.9)

  10. Step 900

    900

    #68254B

    oklch(37.7% 0.106 348.3)

  11. Step 950

    950 (this color)

    #310B21

    oklch(22.5% 0.068 348.2)

Export this scale for Tailwind in the Tailwind colors tool

#310B21 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)#1015220.074
Deuteranopia (no green cones)#1B1C200.066
Tritanopia (no blue cones)#350A140.027
Achromatopsia (no color)#1919190.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #310B21

    #310B21

    oklch(22.5% 0.068 348.2)

  • #002218

    #002218

    oklch(22.4% 0.045 169.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310B21

    #310B21

    oklch(22.5% 0.068 348.2)

  • #280F30

    #280F30

    oklch(22.4% 0.068 317.3)

  • #350A0F

    #350A0F

    oklch(22.5% 0.068 18.1)

Open the analogous palette in the generator

Split complementary

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

  • #310B21

    #310B21

    oklch(22.5% 0.068 348.2)

  • #082201

    #082201

    oklch(22.3% 0.067 138.5)

  • #002122

    #002122

    oklch(22.5% 0.038 197.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310B21

    #310B21

    oklch(22.5% 0.068 348.2)

  • #1E1D00

    #1E1D00

    oklch(22.5% 0.048 107.9)

  • #001F2C

    #001F2C

    oklch(22.4% 0.044 229.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310B21

    #310B21

    oklch(22.5% 0.068 348.2)

  • #271800

    #271800

    oklch(22.3% 0.047 77.9)

  • #002218

    #002218

    oklch(22.4% 0.045 169.4)

  • #051B3B

    #051B3B

    oklch(22.6% 0.068 257.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #310B21 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.