#221A29 color
The hex color #221A29 is a very dark, grayish violet.
In the RGB color model it is made of 13.3% red, 10.2% green and 16.1% blue (34, 26, 41).
Its hue angle is 272°, with 22% saturation and 13% lightness. For print, the CMYK equivalent is 17% cyan, 37% magenta, 0% yellow and 84% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.83:1).
#221A29 color codes
| HEX | #221A29 | |
|---|---|---|
| RGB | rgb(34, 26, 41) | |
| RGB percent | rgb(13.3%, 10.2%, 16.1%) | |
| HSL | hsl(272, 22%, 13%) | |
| HSV / HSB | hsv(272, 37%, 16%) | |
| CMYK | cmyk(17%, 37%, 0%, 84%) | |
| CIE LAB | lab(10.84, 7.72, -8.7) | |
| CIE LCH | lch(10.84, 11.62, 311.58) | |
| CIE XYZ | xyz(1.429, 1.239, 2.261) | |
| Decimal | 2234921 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221A29, 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 #221A29 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.83:1 | Pass | Pass | Pass |
| #221A29 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.83:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #221A29 looks to people with the most common types of color vision deficiency.
#171d2aProtanopia
no red cones#191d29Deuteranopia
no green cones#211c1fTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #221a29; }
.text { color: #221a29; }
.border { border: 2px solid #221a29; }
.transparent { background-color: rgb(34 26 41 / 50%); }
.gradient { background: linear-gradient(to right, #221a29, #291a29); }
Similar colors
#1d0d1dShot in the Dark#222233Black Velvet#1a161dViolet Void#1f2133Eclipse Elixir#111122Corbeau#180614Crow#16141cBack in Black#201b20Night Demons
Closest common color name: Dark Purple.
Questions
- What color is #221A29?
- #221A29 is a very dark, grayish violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #221A29?
- The RGB value is 34, 26, 41: 34 red, 26 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #221A29?
- The complementary color is #21291A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221A29?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.83:1. WCAG asks for at least 4.5:1 for normal text.