#310521

Closest named color: Dark Plum (#3F012C). oklch(21.6% 0.079 346.3), rgb(49, 5, 33).

Aa

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

About this color

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

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

Values

HEX#310521
RGBrgb(49, 5, 33)
HSLhsl(322, 81%, 11%)
OKLCHoklch(21.6% 0.079 346.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 #310521 17.88:1 AAA Lc -106.4 Preferred for body text
Black text on #310521 1.17:1 Fails Lc 0.0 Not readable
#310521 text on white 17.88:1 AAA Lc 104.1 Preferred for body text
#310521 text on black 1.17: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

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F4CCE0

    oklch(88.5% 0.052 346.6)

  4. Step 300

    300

    #EDA8CD

    oklch(80.8% 0.093 346)

  5. Step 400

    400

    #E177B4

    oklch(70.7% 0.149 346)

  6. Step 500

    500

    #D64EA1

    oklch(63.2% 0.191 346.3)

  7. Step 600

    600

    #C1298C

    oklch(55.7% 0.207 346.3)

  8. Step 700

    700

    #A61877

    oklch(49.1% 0.193 346.2)

  9. Step 800

    800

    #871960

    oklch(42.7% 0.159 346.7)

  10. Step 900

    900

    #6D1D4F

    oklch(37.7% 0.125 346.4)

  11. Step 950

    950 (this color)

    #310521

    oklch(21.6% 0.079 346.3)

Export this scale for Tailwind in the Tailwind colors tool

#310521 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)#0A12220.088
Deuteranopia (no green cones)#181A200.077
Tritanopia (no blue cones)#3504110.033
Achromatopsia (no color)#1717170.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #310521

    #310521

    oklch(21.6% 0.079 346.3)

  • #002015

    #002015

    oklch(21.6% 0.045 166.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310521

    #310521

    oklch(21.6% 0.079 346.3)

  • #270A31

    #270A31

    oklch(21.6% 0.078 316.2)

  • #36030C

    #36030C

    oklch(21.6% 0.08 16.6)

Open the analogous palette in the generator

Split complementary

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

  • #310521

    #310521

    oklch(21.6% 0.079 346.3)

  • #0A2000

    #0A2000

    oklch(21.7% 0.065 136.1)

  • #001F1F

    #001F1F

    oklch(21.7% 0.037 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310521

    #310521

    oklch(21.6% 0.079 346.3)

  • #1D1B00

    #1D1B00

    oklch(21.7% 0.046 105.9)

  • #001D28

    #001D28

    oklch(21.5% 0.041 226.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310521

    #310521

    oklch(21.6% 0.079 346.3)

  • #251600

    #251600

    oklch(21.5% 0.045 76.3)

  • #002015

    #002015

    oklch(21.6% 0.045 166.4)

  • #00183B

    #00183B

    oklch(21.5% 0.075 256.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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