#1A181D color
The hex color #1A181D is a very dark, grayish violet.
In the RGB color model it is made of 10.2% red, 9.4% green and 11.4% blue (26, 24, 29).
Its hue angle is 264°, with 9% saturation and 10% lightness. For print, the CMYK equivalent is 10% cyan, 17% magenta, 0% yellow and 89% black.
The closest named color is Eigengrau (#16161D), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.61:1).
#1A181D color codes
| HEX | #1A181D | |
|---|---|---|
| RGB | rgb(26, 24, 29) | |
| RGB percent | rgb(10.2%, 9.4%, 11.4%) | |
| HSL | hsl(264, 9%, 10%) | |
| HSV / HSB | hsv(264, 17%, 11%) | |
| CMYK | cmyk(10%, 17%, 0%, 89%) | |
| CIE LAB | lab(8.67, 2.29, -3.14) | |
| CIE LCH | lch(8.67, 3.89, 306.14) | |
| CIE XYZ | xyz(0.974, 0.962, 1.296) | |
| Decimal | 1710109 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A181D, 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 #1A181D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.61:1 | Pass | Pass | Pass |
| #1A181D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.61:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #1A181D looks to people with the most common types of color vision deficiency.
#17191dProtanopia
no red cones#18191dDeuteranopia
no green cones#1a191aTritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #1a181d; }
.text { color: #1a181d; }
.border { border: 2px solid #1a181d; }
.transparent { background-color: rgb(26 24 29 / 50%); }
.gradient { background: linear-gradient(to right, #1a181d, #1d181d); }
Similar colors
#16161dEigengrau#1a161dViolet Void#201b20Night Demons#16141cBack in Black#17171aPiano Black#1e1e21Inkwell Inception#151517Dark Void#252024Ink Black
Closest common color name: Midnight Black.
Questions
- What color is #1A181D?
- #1A181D is a very dark, grayish violet, closest to the named color Eigengrau. It belongs to the black family of colors.
- What is the RGB value of #1A181D?
- The RGB value is 26, 24, 29: 26 red, 24 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #1A181D?
- The complementary color is #1B1D18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A181D?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.61:1. WCAG asks for at least 4.5:1 for normal text.