#22102C color
The hex color #22102C is a very dark, desaturated violet.
In the RGB color model it is made of 13.3% red, 6.3% green and 17.3% blue (34, 16, 44).
Its hue angle is 279°, with 47% saturation and 12% lightness. For print, the CMYK equivalent is 23% cyan, 64% magenta, 0% yellow and 83% black.
The closest named color is Dark Prom Queen (#2B0F2E), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.82:1).
#22102C color codes
| HEX | #22102C | |
|---|---|---|
| RGB | rgb(34, 16, 44) | |
| RGB percent | rgb(13.3%, 6.3%, 17.3%) | |
| HSL | hsl(279, 47%, 12%) | |
| HSV / HSB | hsv(279, 64%, 17%) | |
| CMYK | cmyk(23%, 64%, 0%, 83%) | |
| CIE LAB | lab(8.06, 15.84, -15.25) | |
| CIE LCH | lch(8.06, 21.99, 316.09) | |
| CIE XYZ | xyz(1.3, 0.893, 2.486) | |
| Decimal | 2232364 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22102C, 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 #22102C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.82:1 | Pass | Pass | Pass |
| #22102C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.82:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #22102C looks to people with the most common types of color vision deficiency.
#09172dProtanopia
no red cones#0f182bDeuteranopia
no green cones#21151cTritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #22102c; }
.text { color: #22102c; }
.border { border: 2px solid #22102c; }
.transparent { background-color: rgb(34 16 44 / 50%); }
.gradient { background: linear-gradient(to right, #22102c, #2c1028); }
Similar colors
#2b0f2eDark Prom Queen#301934Dark Purple#1c0f33Midnight Monarch#220022Black Sabbath#1d0d1dShot in the Dark#3b193fCreatures of the Night#2a2243Midnight Velvet#391531Nightly Voyager
Questions
- What color is #22102C?
- #22102C is a very dark, desaturated violet, closest to the named color Dark Prom Queen. It belongs to the black family of colors.
- What is the RGB value of #22102C?
- The RGB value is 34, 16, 44: 34 red, 16 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #22102C?
- The complementary color is #1A2C10, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22102C?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.82:1. WCAG asks for at least 4.5:1 for normal text.