#21192A color
The hex color #21192A is a very dark, desaturated violet.
In the RGB color model it is made of 12.9% red, 9.8% green and 16.5% blue (33, 25, 42).
Its hue angle is 268°, with 25% saturation and 13% lightness. For print, the CMYK equivalent is 21% cyan, 40% magenta, 0% yellow and 84% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 4.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.97:1).
#21192A color codes
| HEX | #21192A | |
|---|---|---|
| RGB | rgb(33, 25, 42) | |
| RGB percent | rgb(12.9%, 9.8%, 16.5%) | |
| HSL | hsl(268, 25%, 13%) | |
| HSV / HSB | hsv(268, 40%, 16%) | |
| CMYK | cmyk(21%, 40%, 0%, 84%) | |
| CIE LAB | lab(10.45, 8.33, -10.04) | |
| CIE LCH | lch(10.45, 13.05, 309.69) | |
| CIE XYZ | xyz(1.393, 1.186, 2.346) | |
| Decimal | 2169130 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21192A, 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 #21192A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.97:1 | Pass | Pass | Pass |
| #21192A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.97:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #21192A looks to people with the most common types of color vision deficiency.
#161c2bProtanopia
no red cones#171c2aDeuteranopia
no green cones#201b1fTritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #21192a; }
.text { color: #21192a; }
.border { border: 2px solid #21192a; }
.transparent { background-color: rgb(33 25 42 / 50%); }
.gradient { background: linear-gradient(to right, #21192a, #2a192a); }
Similar colors
#1d0d1dShot in the Dark#222233Black Velvet#111122Corbeau#1f2133Eclipse Elixir#151931Dark Knight#1a161dViolet Void#180614Crow#110011Glossy Black
Closest common color name: Dark Purple.
Questions
- What color is #21192A?
- #21192A is a very dark, desaturated violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #21192A?
- The RGB value is 33, 25, 42: 33 red, 25 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #21192A?
- The complementary color is #222A19, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21192A?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.97:1. WCAG asks for at least 4.5:1 for normal text.