#1E182D color
The hex color #1E182D is a very dark, desaturated violet.
In the RGB color model it is made of 11.8% red, 9.4% green and 17.6% blue (30, 24, 45).
Its hue angle is 257°, with 30% saturation and 14% lightness. For print, the CMYK equivalent is 33% cyan, 47% magenta, 0% yellow and 82% black.
The closest named color is Dark Knight (#151931), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.16:1).
#1E182D color codes
| HEX | #1E182D | |
|---|---|---|
| RGB | rgb(30, 24, 45) | |
| RGB percent | rgb(11.8%, 9.4%, 17.6%) | |
| HSL | hsl(257, 30%, 14%) | |
| HSV / HSB | hsv(257, 47%, 18%) | |
| CMYK | cmyk(33%, 47%, 0%, 82%) | |
| CIE LAB | lab(9.94, 8.83, -13.07) | |
| CIE LCH | lch(9.94, 15.77, 304.05) | |
| CIE XYZ | xyz(1.336, 1.119, 2.628) | |
| Decimal | 1972269 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1E182D, 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 #1E182D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.16:1 | Pass | Pass | Pass |
| #1E182D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.16:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #1E182D looks to people with the most common types of color vision deficiency.
#121b2eProtanopia
no red cones#131b2cDeuteranopia
no green cones#1b1c20Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #1e182d; }
.text { color: #1e182d; }
.border { border: 2px solid #1e182d; }
.transparent { background-color: rgb(30 24 45 / 50%); }
.gradient { background: linear-gradient(to right, #1e182d, #29182d); }
Similar colors
#151931Dark Knight#222233Black Velvet#111122Corbeau#1f2133Eclipse Elixir#1d0d1dShot in the Dark#2a2243Midnight Velvet#161d3bNightwalker#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #1E182D?
- #1E182D is a very dark, desaturated violet, closest to the named color Dark Knight. It belongs to the black family of colors.
- What is the RGB value of #1E182D?
- The RGB value is 30, 24, 45: 30 red, 24 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #1E182D?
- The complementary color is #272D18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1E182D?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.16:1. WCAG asks for at least 4.5:1 for normal text.