#1E1C21 color
The hex color #1E1C21 is a very dark, grayish violet.
In the RGB color model it is made of 11.8% red, 11% green and 12.9% blue (30, 28, 33).
Its hue angle is 264°, with 8% saturation and 12% lightness. For print, the CMYK equivalent is 9% cyan, 15% magenta, 0% yellow and 87% black.
The closest named color is Night Demons (#201B20), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.89:1).
#1E1C21 color codes
| HEX | #1E1C21 | |
|---|---|---|
| RGB | rgb(30, 28, 33) | |
| RGB percent | rgb(11.8%, 11%, 12.9%) | |
| HSL | hsl(264, 8%, 12%) | |
| HSV / HSB | hsv(264, 15%, 13%) | |
| CMYK | cmyk(9%, 15%, 0%, 87%) | |
| CIE LAB | lab(10.68, 2.25, -3.08) | |
| CIE LCH | lch(10.68, 3.81, 306.08) | |
| CIE XYZ | xyz(1.225, 1.216, 1.609) | |
| Decimal | 1973281 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1E1C21, 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 #1E1C21 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.89:1 | Pass | Pass | Pass |
| #1E1C21 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.89:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #1E1C21 looks to people with the most common types of color vision deficiency.
#1b1d21Protanopia
no red cones#1c1d21Deuteranopia
no green cones#1e1d1eTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #1e1c21; }
.text { color: #1e1c21; }
.border { border: 2px solid #1e1c21; }
.transparent { background-color: rgb(30 28 33 / 50%); }
.gradient { background: linear-gradient(to right, #1e1c21, #211c21); }
Similar colors
#201b20Night Demons#1e1e21Inkwell Inception#252024Ink Black#16161dEigengrau#1a161dViolet Void#17171aPiano Black#211e1fUmbra#27252aDarth Vader
Closest common color name: Midnight Black.
Questions
- What color is #1E1C21?
- #1E1C21 is a very dark, grayish violet, closest to the named color Night Demons. It belongs to the black family of colors.
- What is the RGB value of #1E1C21?
- The RGB value is 30, 28, 33: 30 red, 28 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #1E1C21?
- The complementary color is #1F211C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1E1C21?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.89:1. WCAG asks for at least 4.5:1 for normal text.