#221E34 color
The hex color #221E34 is a very dark, desaturated violet.
In the RGB color model it is made of 13.3% red, 11.8% green and 20.4% blue (34, 30, 52).
Its hue angle is 251°, with 27% saturation and 16% lightness. For print, the CMYK equivalent is 35% cyan, 42% magenta, 0% yellow and 80% black.
The closest named color is Black Velvet (#222233), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.11:1).
#221E34 color codes
| HEX | #221E34 | |
|---|---|---|
| RGB | rgb(34, 30, 52) | |
| RGB percent | rgb(13.3%, 11.8%, 20.4%) | |
| HSL | hsl(251, 27%, 16%) | |
| HSV / HSB | hsv(251, 42%, 20%) | |
| CMYK | cmyk(35%, 42%, 0%, 80%) | |
| CIE LAB | lab(12.71, 8.11, -13.78) | |
| CIE LCH | lch(12.71, 15.98, 300.48) | |
| CIE XYZ | xyz(1.744, 1.517, 3.449) | |
| Decimal | 2235956 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221E34, 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 #221E34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.11:1 | Pass | Pass | Pass |
| #221E34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.11:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #221E34 looks to people with the most common types of color vision deficiency.
#182135Protanopia
no red cones#182133Deuteranopia
no green cones#1e2226Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #221e34; }
.text { color: #221e34; }
.border { border: 2px solid #221e34; }
.transparent { background-color: rgb(34 30 52 / 50%); }
.gradient { background: linear-gradient(to right, #221e34, #2d1e34); }
Similar colors
#222233Black Velvet#151931Dark Knight#1f2133Eclipse Elixir#2a2243Midnight Velvet#222244Black Market#161d3bNightwalker#21263aMidnight Express#161e34Sombre Night
Closest common color name: Dark Purple.
Questions
- What color is #221E34?
- #221E34 is a very dark, desaturated violet, closest to the named color Black Velvet. It belongs to the blue family of colors.
- What is the RGB value of #221E34?
- The RGB value is 34, 30, 52: 34 red, 30 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #221E34?
- The complementary color is #30341E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221E34?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.11:1. WCAG asks for at least 4.5:1 for normal text.