#22121D

Closest named color: Rich Black (#0D1B2A). oklch(20.9% 0.033 339.2), rgb(34, 18, 29).

Aa

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

About this color

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

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

Values

HEX#22121D
RGBrgb(34, 18, 29)
HSLhsl(319, 31%, 10%)
OKLCHoklch(20.9% 0.033 339.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 #22121D 17.91:1 AAA Lc -106.8 Preferred for body text
Black text on #22121D 1.17:1 Fails Lc 0.0 Not readable
#22121D text on white 17.91:1 AAA Lc 104.6 Preferred for body text
#22121D 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

    #E3D4DE

    oklch(88.5% 0.021 337.7)

  4. Step 300

    300

    #D2B7C9

    oklch(80.8% 0.039 338.2)

  5. Step 400

    400

    #BB92AD

    oklch(70.7% 0.061 339.3)

  6. Step 500

    500

    #AA7799

    oklch(63.2% 0.079 339.6)

  7. Step 600

    600

    #955F84

    oklch(55.7% 0.086 339.3)

  8. Step 700

    700

    #7F4E70

    oklch(49.1% 0.081 339)

  9. Step 800

    800

    #67405B

    oklch(42.7% 0.067 339)

  10. Step 900

    900

    #54374B

    oklch(37.8% 0.051 338.7)

  11. Step 950

    950 (this color)

    #22121D

    oklch(20.9% 0.033 339.2)

Export this scale for Tailwind in the Tailwind colors tool

#22121D 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)#13161D0.033
Deuteranopia (no green cones)#16181D0.031
Tritanopia (no blue cones)#2412160.015
Achromatopsia (no color)#1717170.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #22121D

    #22121D

    oklch(20.9% 0.033 339.2)

  • #091D13

    #091D13

    oklch(21% 0.033 159.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22121D

    #22121D

    oklch(20.9% 0.033 339.2)

  • #1D1423

    #1D1423

    oklch(21% 0.032 311.2)

  • #251115

    #251115

    oklch(20.8% 0.034 7.6)

Open the analogous palette in the generator

Split complementary

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

  • #22121D

    #22121D

    oklch(20.9% 0.033 339.2)

  • #131B0A

    #131B0A

    oklch(20.9% 0.033 129.5)

  • #031D1B

    #031D1B

    oklch(21% 0.033 188)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22121D

    #22121D

    oklch(20.9% 0.033 339.2)

  • #1C1806

    #1C1806

    oklch(20.9% 0.032 97.3)

  • #041C22

    #041C22

    oklch(21.1% 0.032 216.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22121D

    #22121D

    oklch(20.9% 0.033 339.2)

  • #221507

    #221507

    oklch(20.9% 0.032 67)

  • #091D13

    #091D13

    oklch(21% 0.033 159.9)

  • #0C1926

    #0C1926

    oklch(20.9% 0.032 249.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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