#1D1832 color
The hex color #1D1832 is a very dark, desaturated violet.
In the RGB color model it is made of 11.4% red, 9.4% green and 19.6% blue (29, 24, 50).
Its hue angle is 252°, with 35% saturation and 15% lightness. For print, the CMYK equivalent is 42% cyan, 52% magenta, 0% yellow and 80% black.
The closest named color is Dark Knight (#151931), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.09:1).
#1D1832 color codes
| HEX | #1D1832 | |
|---|---|---|
| RGB | rgb(29, 24, 50) | |
| RGB percent | rgb(11.4%, 9.4%, 19.6%) | |
| HSL | hsl(252, 35%, 15%) | |
| HSV / HSB | hsv(252, 52%, 20%) | |
| CMYK | cmyk(42%, 52%, 0%, 80%) | |
| CIE LAB | lab(10.14, 10.14, -16.41) | |
| CIE LCH | lch(10.14, 19.29, 301.7) | |
| CIE XYZ | xyz(1.409, 1.145, 3.164) | |
| Decimal | 1906738 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1832, 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 #1D1832 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.09:1 | Pass | Pass | Pass |
| #1D1832 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.09:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #1D1832 looks to people with the most common types of color vision deficiency.
#0f1c33Protanopia
no red cones#101b31Deuteranopia
no green cones#181d22Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #1d1832; }
.text { color: #1d1832; }
.border { border: 2px solid #1d1832; }
.transparent { background-color: rgb(29 24 50 / 50%); }
.gradient { background: linear-gradient(to right, #1d1832, #2a1832); }
Similar colors
#151931Dark Knight#2a2243Midnight Velvet#222244Black Market#161d3bNightwalker#1c0f33Midnight Monarch#060929Mysterious Depths#222233Black Velvet#1f2133Eclipse Elixir
Closest common color name: Dark Purple.
Questions
- What color is #1D1832?
- #1D1832 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 #1D1832?
- The RGB value is 29, 24, 50: 29 red, 24 green and 50 blue on a 0 to 255 scale.
- What is the complementary color of #1D1832?
- The complementary color is #2D3218, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1832?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.09:1. WCAG asks for at least 4.5:1 for normal text.