#1D1926 color
The hex color #1D1926 is a very dark, grayish violet.
In the RGB color model it is made of 11.4% red, 9.8% green and 14.9% blue (29, 25, 38).
Its hue angle is 258°, with 21% saturation and 12% lightness. For print, the CMYK equivalent is 24% cyan, 34% magenta, 0% yellow and 85% black.
The closest named color is Violet Void (#1A161D), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.22:1).
#1D1926 color codes
| HEX | #1D1926 | |
|---|---|---|
| RGB | rgb(29, 25, 38) | |
| RGB percent | rgb(11.4%, 9.8%, 14.9%) | |
| HSL | hsl(258, 21%, 12%) | |
| HSV / HSB | hsv(258, 34%, 15%) | |
| CMYK | cmyk(24%, 34%, 0%, 85%) | |
| CIE LAB | lab(9.77, 5.48, -8.18) | |
| CIE LCH | lch(9.77, 9.84, 303.84) | |
| CIE XYZ | xyz(1.204, 1.096, 1.982) | |
| Decimal | 1906982 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1926, 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 #1D1926 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.22:1 | Pass | Pass | Pass |
| #1D1926 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.22: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 #1D1926 looks to people with the most common types of color vision deficiency.
#161b27Protanopia
no red cones#171b26Deuteranopia
no green cones#1b1b1eTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #1d1926; }
.text { color: #1d1926; }
.border { border: 2px solid #1d1926; }
.transparent { background-color: rgb(29 25 38 / 50%); }
.gradient { background: linear-gradient(to right, #1d1926, #241926); }
Similar colors
#1a161dViolet Void#222233Black Velvet#111122Corbeau#16141cBack in Black#1f2133Eclipse Elixir#201b20Night Demons#16161dEigengrau#2c2a35Haiti
Closest common color name: Licorice.
Questions
- What color is #1D1926?
- #1D1926 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 #1D1926?
- The RGB value is 29, 25, 38: 29 red, 25 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #1D1926?
- The complementary color is #222619, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1926?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.22:1. WCAG asks for at least 4.5:1 for normal text.