#22202A color
The hex color #22202A is a very dark, grayish violet.
In the RGB color model it is made of 13.3% red, 12.5% green and 16.5% blue (34, 32, 42).
Its hue angle is 252°, with 14% saturation and 15% lightness. For print, the CMYK equivalent is 19% cyan, 24% magenta, 0% yellow and 84% black.
The closest named color is Haiti (#2C2A35), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.05:1).
#22202A color codes
| HEX | #22202A | |
|---|---|---|
| RGB | rgb(34, 32, 42) | |
| RGB percent | rgb(13.3%, 12.5%, 16.5%) | |
| HSL | hsl(252, 14%, 15%) | |
| HSV / HSB | hsv(252, 24%, 16%) | |
| CMYK | cmyk(19%, 24%, 0%, 84%) | |
| CIE LAB | lab(12.86, 3.58, -6.34) | |
| CIE LCH | lch(12.86, 7.28, 299.45) | |
| CIE XYZ | xyz(1.594, 1.54, 2.403) | |
| Decimal | 2236458 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22202A, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #22202A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.05:1 | Pass | Pass | Pass |
| #22202A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.05:1 | Pass | Pass | Pass |
| Sample text | 1.31:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #22202A looks to people with the most common types of color vision deficiency.
#1e212aProtanopia
no red cones#1e212aDeuteranopia
no green cones#212223Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #22202a; }
.text { color: #22202a; }
.border { border: 2px solid #22202a; }
.transparent { background-color: rgb(34 32 42 / 50%); }
.gradient { background: linear-gradient(to right, #22202a, #27202a); }
Similar colors
#2c2a35Haiti#27252aDarth Vader#201b20Night Demons#1a161dViolet Void#222233Black Velvet#252024Ink Black#16141cBack in Black#16161dEigengrau
Closest common color name: Licorice.
Questions
- What color is #22202A?
- #22202A is a very dark, grayish violet, closest to the named color Haiti. It belongs to the black family of colors.
- What is the RGB value of #22202A?
- The RGB value is 34, 32, 42: 34 red, 32 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #22202A?
- The complementary color is #282A20, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22202A?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.05:1. WCAG asks for at least 4.5:1 for normal text.