About #220022
#220022 is a very dark, vivid magenta with a hue angle of 300°. It belongs to the black family and reads as a warm color. In the RGB model red is the strongest channel at 34 (13%) and green the weakest at 0 (0%). Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.
- It can be written in 3-digit shorthand as
#202.
Color conversions
| HEX | #220022 |
|---|---|
| Short HEX | #202 |
| RGB | rgb(34, 0, 34) |
| RGB percent | rgb(13.3%, 0%, 13.3%) |
| HSL | hsl(300, 100%, 7%) |
| HSV / HSB | hsv(300, 100%, 13%) |
| CMYK | cmyk(0%, 100%, 0%, 87%) |
| CIELAB (D65) | lab(4.1 20.9 -13.8) |
| Decimal | 2228258 |
| Binary | 00100010 00000000 00100010 |
HEX 22 00 22 → 34, 0, 34 (each pair is a base-16 number: 2×16 + 2 = 34)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #220022
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #220022 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 19.25:1 | Pass | Pass | Pass | Pass |
| Black text | 1.09:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0046 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#000b23
Deuteranopia#071021
Tritanopia#24040f
Achromatopsia#0e0e0e
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 16.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| midnightblue | #191970 | 17.9 |
| black | #000000 | 19.2 |
| indigo | #4b0082 | 19.4 |
| navy | #000080 | 20.1 |
Nearby colors
CSS
.element {
color: #220022;
background-color: rgb(34, 0, 34);
border: 1px solid hsl(300, 100%, 7%);
box-shadow: 0 2px 8px rgb(34 0 34 / 50%);
}
:root { --brand: #220022; }