#221E2D color
The hex color #221E2D is a very dark, grayish violet.
In the RGB color model it is made of 13.3% red, 11.8% green and 17.6% blue (34, 30, 45).
Its hue angle is 256°, with 20% saturation and 15% lightness. For print, the CMYK equivalent is 24% cyan, 33% magenta, 0% yellow and 82% black.
The closest named color is Black Velvet (#222233), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.26:1).
#221E2D color codes
| HEX | #221E2D | |
|---|---|---|
| RGB | rgb(34, 30, 45) | |
| RGB percent | rgb(13.3%, 11.8%, 17.6%) | |
| HSL | hsl(256, 20%, 15%) | |
| HSV / HSB | hsv(256, 33%, 18%) | |
| CMYK | cmyk(24%, 33%, 0%, 82%) | |
| CIE LAB | lab(12.34, 5.93, -9.31) | |
| CIE LCH | lch(12.34, 11.04, 302.47) | |
| CIE XYZ | xyz(1.598, 1.458, 2.679) | |
| Decimal | 2235949 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221E2D, 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 #221E2D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.26:1 | Pass | Pass | Pass |
| #221E2D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.26:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #221E2D looks to people with the most common types of color vision deficiency.
#1b202eProtanopia
no red cones#1b202dDeuteranopia
no green cones#202023Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #221e2d; }
.text { color: #221e2d; }
.border { border: 2px solid #221e2d; }
.transparent { background-color: rgb(34 30 45 / 50%); }
.gradient { background: linear-gradient(to right, #221e2d, #2a1e2d); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#2c2a35Haiti#111122Corbeau#21263aMidnight Express#1a161dViolet Void#151931Dark Knight#16141cBack in Black
Closest common color name: Dark Purple.
Questions
- What color is #221E2D?
- #221E2D 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 #221E2D?
- The RGB value is 34, 30, 45: 34 red, 30 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #221E2D?
- The complementary color is #292D1E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221E2D?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.26:1. WCAG asks for at least 4.5:1 for normal text.