#310821

Closest named color: Dark Plum (#3F012C). oklch(22% 0.073 347.2), rgb(49, 8, 33).

Aa

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

About this color

#310821 is a very dark, moderately saturated red. In OKLCH its lightness is 22%, its chroma 0.073 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.040 away. White text reads best on it, at 17.68:1.

Hue familyReds
Lightnessvery dark (22%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.18:1
White text17.68:1

Values

HEX#310821
RGBrgb(49, 8, 33)
HSLhsl(323, 72%, 11%)
OKLCHoklch(22% 0.073 347.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 #310821 17.68:1 AAA Lc -106.4 Preferred for body text
Black text on #310821 1.18:1 Fails Lc 0.0 Not readable
#310821 text on white 17.68:1 AAA Lc 104.0 Preferred for body text
#310821 text on black 1.18: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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E3ED

    oklch(93.5% 0.025 345.8)

  3. Step 200

    200

    #F2CDDF

    oklch(88.5% 0.048 347.2)

  4. Step 300

    300

    #EBAACB

    oklch(80.9% 0.087 347.4)

  5. Step 400

    400

    #DE7AB1

    oklch(70.7% 0.139 347.1)

  6. Step 500

    500

    #D2549E

    oklch(63.2% 0.177 347.1)

  7. Step 600

    600

    #BD3388

    oklch(55.6% 0.192 347.4)

  8. Step 700

    700

    #A22374

    oklch(49% 0.179 346.8)

  9. Step 800

    800

    #84205E

    oklch(42.7% 0.149 347.2)

  10. Step 900

    900

    #6A214D

    oklch(37.6% 0.116 346.9)

  11. Step 950

    950 (this color)

    #310821

    oklch(22% 0.073 347.2)

Export this scale for Tailwind in the Tailwind colors tool

#310821 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)#0D14220.081
Deuteranopia (no green cones)#191B200.072
Tritanopia (no blue cones)#3507130.029
Achromatopsia (no color)#1818180.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #310821

    #310821

    oklch(22% 0.073 347.2)

  • #002116

    #002116

    oklch(22% 0.045 166.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310821

    #310821

    oklch(22% 0.073 347.2)

  • #280D30

    #280D30

    oklch(22.1% 0.072 317.8)

  • #35070E

    #35070E

    oklch(22% 0.072 16.9)

Open the analogous palette in the generator

Split complementary

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

  • #310821

    #310821

    oklch(22% 0.073 347.2)

  • #092100

    #092100

    oklch(22% 0.067 137)

  • #002021

    #002021

    oklch(22.1% 0.038 197.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310821

    #310821

    oklch(22% 0.073 347.2)

  • #1D1C00

    #1D1C00

    oklch(22% 0.047 107.9)

  • #001E2A

    #001E2A

    oklch(22% 0.043 228.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310821

    #310821

    oklch(22% 0.073 347.2)

  • #261700

    #261700

    oklch(21.9% 0.046 77.1)

  • #002116

    #002116

    oklch(22% 0.045 166.9)

  • #02193C

    #02193C

    oklch(22% 0.074 257.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #310821 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.