#310D21

Closest named color: Dark Plum (#3F012C). oklch(22.7% 0.064 349), rgb(49, 13, 33).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.21:1
White text17.35:1

Values

HEX#310D21
RGBrgb(49, 13, 33)
HSLhsl(327, 58%, 12%)
OKLCHoklch(22.7% 0.064 349)

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 #310D21 17.35:1 AAA Lc -106.3 Preferred for body text
Black text on #310D21 1.21:1 Fails Lc 0.0 Not readable
#310D21 text on white 17.35:1 AAA Lc 103.9 Preferred for body text
#310D21 text on black 1.21: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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E4EC

    oklch(93.6% 0.022 348.8)

  3. Step 200

    200

    #F0CEDD

    oklch(88.4% 0.043 349.6)

  4. Step 300

    300

    #E7ADC8

    oklch(80.9% 0.076 349.4)

  5. Step 400

    400

    #D880AD

    oklch(70.7% 0.121 348.7)

  6. Step 500

    500

    #CC5C98

    oklch(63.1% 0.157 349.2)

  7. Step 600

    600

    #B73F83

    oklch(55.7% 0.17 349)

  8. Step 700

    700

    #9D306F

    oklch(49.2% 0.158 348.9)

  9. Step 800

    800

    #7F295A

    oklch(42.6% 0.13 348.8)

  10. Step 900

    900

    #67274A

    oklch(37.7% 0.101 349.1)

  11. Step 950

    950 (this color)

    #310D21

    oklch(22.7% 0.064 349)

Export this scale for Tailwind in the Tailwind colors tool

#310D21 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)#1116220.071
Deuteranopia (no green cones)#1B1D200.065
Tritanopia (no blue cones)#350C150.025
Achromatopsia (no color)#1A1A1A0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #310D21

    #310D21

    oklch(22.7% 0.064 349)

  • #002319

    #002319

    oklch(22.8% 0.045 169.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310D21

    #310D21

    oklch(22.7% 0.064 349)

  • #29112F

    #29112F

    oklch(22.9% 0.064 319.3)

  • #350C10

    #350C10

    oklch(22.8% 0.066 18.4)

Open the analogous palette in the generator

Split complementary

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

  • #310D21

    #310D21

    oklch(22.7% 0.064 349)

  • #0A2303

    #0A2303

    oklch(22.8% 0.064 138.8)

  • #002223

    #002223

    oklch(22.9% 0.039 197.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310D21

    #310D21

    oklch(22.7% 0.064 349)

  • #1E1E00

    #1E1E00

    oklch(22.8% 0.05 109.8)

  • #00202D

    #00202D

    oklch(22.8% 0.045 229)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310D21

    #310D21

    oklch(22.7% 0.064 349)

  • #281900

    #281900

    oklch(22.7% 0.047 78.6)

  • #002319

    #002319

    oklch(22.8% 0.045 169.8)

  • #081B3A

    #081B3A

    oklch(22.7% 0.065 259.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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