#21121D

Closest named color: Rich Black (#0D1B2A). oklch(20.8% 0.032 337), rgb(33, 18, 29).

Aa

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

About this color

#21121D is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.032 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.047 away. White text reads best on it, at 17.96:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text17.96:1

Values

HEX#21121D
RGBrgb(33, 18, 29)
HSLhsl(316, 29%, 10%)
OKLCHoklch(20.8% 0.032 337)

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 #21121D 17.96:1 AAA Lc -106.8 Preferred for body text
Black text on #21121D 1.16:1 Fails Lc 0.0 Not readable
#21121D text on white 17.96:1 AAA Lc 104.7 Preferred for body text
#21121D text on black 1.16: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

    #D1B8C9

    oklch(80.9% 0.037 337.6)

  5. Step 400

    400

    #BA93AE

    oklch(70.8% 0.059 337.7)

  6. Step 500

    500

    #A8789A

    oklch(63.2% 0.076 337.6)

  7. Step 600

    600

    #936085

    oklch(55.6% 0.084 337.3)

  8. Step 700

    700

    #7D4F71

    oklch(49.1% 0.078 336.9)

  9. Step 800

    800

    #65415C

    oklch(42.6% 0.064 336.2)

  10. Step 900

    900

    #53374B

    oklch(37.7% 0.05 337.6)

  11. Step 950

    950 (this color)

    #21121D

    oklch(20.8% 0.032 337)

Export this scale for Tailwind in the Tailwind colors tool

#21121D 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)#12151D0.032
Deuteranopia (no green cones)#16181D0.029
Tritanopia (no blue cones)#2312160.015
Achromatopsia (no color)#1717170.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #21121D

    #21121D

    oklch(20.8% 0.032 337)

  • #0A1C12

    #0A1C12

    oklch(20.7% 0.031 157.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21121D

    #21121D

    oklch(20.8% 0.032 337)

  • #1C1423

    #1C1423

    oklch(20.9% 0.031 308.3)

  • #241115

    #241115

    oklch(20.7% 0.032 6.7)

Open the analogous palette in the generator

Split complementary

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

  • #21121D

    #21121D

    oklch(20.8% 0.032 337)

  • #141A0A

    #141A0A

    oklch(20.6% 0.031 125.8)

  • #041C1A

    #041C1A

    oklch(20.7% 0.031 187.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21121D

    #21121D

    oklch(20.8% 0.032 337)

  • #1C1806

    #1C1806

    oklch(20.9% 0.032 97.3)

  • #041B21

    #041B21

    oklch(20.7% 0.032 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21121D

    #21121D

    oklch(20.8% 0.032 337)

  • #211507

    #211507

    oklch(20.8% 0.031 69.4)

  • #0A1C12

    #0A1C12

    oklch(20.7% 0.031 157.8)

  • #0B1925

    #0B1925

    oklch(20.7% 0.031 245.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21121D 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.