#1E1936 color
The hex color #1E1936 is a very dark, desaturated violet.
In the RGB color model it is made of 11.8% red, 9.8% green and 21.2% blue (30, 25, 54).
Its hue angle is 250°, with 37% saturation and 15% lightness. For print, the CMYK equivalent is 44% cyan, 54% magenta, 0% yellow and 79% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.83:1).
#1E1936 color codes
| HEX | #1E1936 | |
|---|---|---|
| RGB | rgb(30, 25, 54) | |
| RGB percent | rgb(11.8%, 9.8%, 21.2%) | |
| HSL | hsl(250, 37%, 15%) | |
| HSV / HSB | hsv(250, 54%, 21%) | |
| CMYK | cmyk(44%, 54%, 0%, 79%) | |
| CIE LAB | lab(10.83, 11.11, -18.21) | |
| CIE LCH | lch(10.83, 21.33, 301.38) | |
| CIE XYZ | xyz(1.549, 1.238, 3.647) | |
| Decimal | 1972534 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1E1936, 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 #1E1936 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.83:1 | Pass | Pass | Pass |
| #1E1936 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.83:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #1E1936 looks to people with the most common types of color vision deficiency.
#0f1e37Protanopia
no red cones#0f1c35Deuteranopia
no green cones#181f24Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #1e1936; }
.text { color: #1e1936; }
.border { border: 2px solid #1e1936; }
.transparent { background-color: rgb(30 25 54 / 50%); }
.gradient { background: linear-gradient(to right, #1e1936, #2d1936); }
Similar colors
#2a2243Midnight Velvet#222244Black Market#151931Dark Knight#1c0f33Midnight Monarch#161d3bNightwalker#211d49Azulado#071037Infinite Night#060929Mysterious Depths
Closest common color name: Dark Purple.
Questions
- What color is #1E1936?
- #1E1936 is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the black family of colors.
- What is the RGB value of #1E1936?
- The RGB value is 30, 25, 54: 30 red, 25 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #1E1936?
- The complementary color is #313619, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1E1936?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.83:1. WCAG asks for at least 4.5:1 for normal text.