#221B2A color
The hex color #221B2A is a very dark, grayish violet.
In the RGB color model it is made of 13.3% red, 10.6% green and 16.5% blue (34, 27, 42).
Its hue angle is 268°, with 22% saturation and 14% lightness. For print, the CMYK equivalent is 19% cyan, 36% magenta, 0% yellow and 84% black.
The closest named color is Black Velvet (#222233), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.69:1).
#221B2A color codes
| HEX | #221B2A | |
|---|---|---|
| RGB | rgb(34, 27, 42) | |
| RGB percent | rgb(13.3%, 10.6%, 16.5%) | |
| HSL | hsl(268, 22%, 14%) | |
| HSV / HSB | hsv(268, 36%, 16%) | |
| CMYK | cmyk(19%, 36%, 0%, 84%) | |
| CIE LAB | lab(11.21, 7.26, -8.86) | |
| CIE LCH | lch(11.21, 11.45, 309.34) | |
| CIE XYZ | xyz(1.469, 1.291, 2.362) | |
| Decimal | 2235178 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221B2A, 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 #221B2A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.69:1 | Pass | Pass | Pass |
| #221B2A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.69:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #221B2A looks to people with the most common types of color vision deficiency.
#181e2bProtanopia
no red cones#1a1e2aDeuteranopia
no green cones#211d20Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #221b2a; }
.text { color: #221b2a; }
.border { border: 2px solid #221b2a; }
.transparent { background-color: rgb(34 27 42 / 50%); }
.gradient { background: linear-gradient(to right, #221b2a, #291b2a); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#1d0d1dShot in the Dark#1a161dViolet Void#111122Corbeau#16141cBack in Black#2c2a35Haiti#201b20Night Demons
Closest common color name: Dark Purple.
Questions
- What color is #221B2A?
- #221B2A is a very dark, grayish violet, closest to the named color Black Velvet. It belongs to the black family of colors.
- What is the RGB value of #221B2A?
- The RGB value is 34, 27, 42: 34 red, 27 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #221B2A?
- The complementary color is #232A1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221B2A?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.69:1. WCAG asks for at least 4.5:1 for normal text.