#221C27 color
The hex color #221C27 is a very dark, grayish violet.
In the RGB color model it is made of 13.3% red, 11% green and 15.3% blue (34, 28, 39).
Its hue angle is 273°, with 16% saturation and 13% lightness. For print, the CMYK equivalent is 13% cyan, 28% magenta, 0% yellow and 85% black.
The closest named color is Violet Void (#1A161D), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.62:1).
#221C27 color codes
| HEX | #221C27 | |
|---|---|---|
| RGB | rgb(34, 28, 39) | |
| RGB percent | rgb(13.3%, 11%, 15.3%) | |
| HSL | hsl(273, 16%, 13%) | |
| HSV / HSB | hsv(273, 28%, 15%) | |
| CMYK | cmyk(13%, 28%, 0%, 85%) | |
| CIE LAB | lab(11.39, 5.67, -6.38) | |
| CIE LCH | lch(11.39, 8.54, 311.64) | |
| CIE XYZ | xyz(1.441, 1.317, 2.097) | |
| Decimal | 2235431 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221C27, 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 #221C27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.62:1 | Pass | Pass | Pass |
| #221C27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.62: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 #221C27 looks to people with the most common types of color vision deficiency.
#1a1e27Protanopia
no red cones#1b1e27Deuteranopia
no green cones#211d20Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #221c27; }
.text { color: #221c27; }
.border { border: 2px solid #221c27; }
.transparent { background-color: rgb(34 28 39 / 50%); }
.gradient { background: linear-gradient(to right, #221c27, #271c27); }
Similar colors
#1a161dViolet Void#201b20Night Demons#16141cBack in Black#222233Black Velvet#252024Ink Black#2c2a35Haiti#1f2133Eclipse Elixir#16161dEigengrau
Closest common color name: Licorice.
Questions
- What color is #221C27?
- #221C27 is a very dark, grayish violet, closest to the named color Violet Void. It belongs to the black family of colors.
- What is the RGB value of #221C27?
- The RGB value is 34, 28, 39: 34 red, 28 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #221C27?
- The complementary color is #21271C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221C27?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.62:1. WCAG asks for at least 4.5:1 for normal text.