#1D1823 color
The hex color #1D1823 is a very dark, grayish violet.
In the RGB color model it is made of 11.4% red, 9.4% green and 13.7% blue (29, 24, 35).
Its hue angle is 267°, with 19% saturation and 12% lightness. For print, the CMYK equivalent is 17% cyan, 31% magenta, 0% yellow and 86% black.
The closest named color is Violet Void (#1A161D), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.4:1).
#1D1823 color codes
| HEX | #1D1823 | |
|---|---|---|
| RGB | rgb(29, 24, 35) | |
| RGB percent | rgb(11.4%, 9.4%, 13.7%) | |
| HSL | hsl(267, 19%, 12%) | |
| HSV / HSB | hsv(267, 31%, 14%) | |
| CMYK | cmyk(17%, 31%, 0%, 86%) | |
| CIE LAB | lab(9.29, 5.35, -6.68) | |
| CIE LCH | lch(9.29, 8.56, 308.67) | |
| CIE XYZ | xyz(1.137, 1.036, 1.73) | |
| Decimal | 1906723 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1823, 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 #1D1823 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.4:1 | Pass | Pass | Pass |
| #1D1823 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.4:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #1D1823 looks to people with the most common types of color vision deficiency.
#161a23Protanopia
no red cones#171a23Deuteranopia
no green cones#1c191cTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #1d1823; }
.text { color: #1d1823; }
.border { border: 2px solid #1d1823; }
.transparent { background-color: rgb(29 24 35 / 50%); }
.gradient { background: linear-gradient(to right, #1d1823, #221823); }
Similar colors
#1a161dViolet Void#16141cBack in Black#201b20Night Demons#16161dEigengrau#111122Corbeau#222233Black Velvet#252024Ink Black#150811Noir Fiction
Closest common color name: Licorice.
Questions
- What color is #1D1823?
- #1D1823 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 #1D1823?
- The RGB value is 29, 24, 35: 29 red, 24 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #1D1823?
- The complementary color is #1E2318, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1823?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.4:1. WCAG asks for at least 4.5:1 for normal text.