#22121C

Closest named color: Rich Black (#0D1B2A). oklch(20.9% 0.032 342.2), rgb(34, 18, 28).

Aa

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

About this color

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

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

Values

HEX#22121C
RGBrgb(34, 18, 28)
HSLhsl(323, 31%, 10%)
OKLCHoklch(20.9% 0.032 342.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 #22121C 17.92:1 AAA Lc -106.8 Preferred for body text
Black text on #22121C 1.17:1 Fails Lc 0.0 Not readable
#22121C text on white 17.92:1 AAA Lc 104.6 Preferred for body text
#22121C 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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EFE7EC

    oklch(93.6% 0.011 339.3)

  3. Step 200

    200

    #E4D4DD

    oklch(88.5% 0.021 342.6)

  4. Step 300

    300

    #D3B8C7

    oklch(81% 0.037 343.4)

  5. Step 400

    400

    #BC92AB

    oklch(70.7% 0.061 342.3)

  6. Step 500

    500

    #AA7796

    oklch(63.1% 0.076 342.4)

  7. Step 600

    600

    #955F81

    oklch(55.5% 0.084 341.9)

  8. Step 700

    700

    #7F4E6D

    oklch(49% 0.079 341.9)

  9. Step 800

    800

    #674159

    oklch(42.8% 0.063 341.8)

  10. Step 900

    900

    #543749

    oklch(37.7% 0.05 342)

  11. Step 950

    950 (this color)

    #22121C

    oklch(20.9% 0.032 342.2)

Export this scale for Tailwind in the Tailwind colors tool

#22121C 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)#13151C0.032
Deuteranopia (no green cones)#17181C0.030
Tritanopia (no blue cones)#2412160.013
Achromatopsia (no color)#1717170.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #22121C

    #22121C

    oklch(20.9% 0.032 342.2)

  • #091D14

    #091D14

    oklch(21.1% 0.032 162.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22121C

    #22121C

    oklch(20.9% 0.032 342.2)

  • #1D1423

    #1D1423

    oklch(21% 0.032 311.2)

  • #251214

    #251214

    oklch(21% 0.032 13.4)

Open the analogous palette in the generator

Split complementary

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

  • #22121C

    #22121C

    oklch(20.9% 0.032 342.2)

  • #121B0B

    #121B0B

    oklch(20.8% 0.033 132.6)

  • #031D1C

    #031D1C

    oklch(21% 0.032 191.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22121C

    #22121C

    oklch(20.9% 0.032 342.2)

  • #1B1806

    #1B1806

    oklch(20.7% 0.032 100.3)

  • #051B22

    #051B22

    oklch(20.8% 0.031 221.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22121C

    #22121C

    oklch(20.9% 0.032 342.2)

  • #211507

    #211507

    oklch(20.8% 0.031 69.4)

  • #091D14

    #091D14

    oklch(21.1% 0.032 162.5)

  • #0D1926

    #0D1926

    oklch(20.9% 0.031 251.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22121C 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.