#1A131A color
The hex color #1A131A is a very dark, grayish magenta.
In the RGB color model it is made of 10.2% red, 7.5% green and 10.2% blue (26, 19, 26).
Its hue angle is 300°, with 16% saturation and 9% lightness. For print, the CMYK equivalent is 0% cyan, 27% magenta, 0% yellow and 90% black.
The closest named color is Violet Void (#1A161D), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.23:1).
#1A131A color codes
| HEX | #1A131A | |
|---|---|---|
| RGB | rgb(26, 19, 26) | |
| RGB percent | rgb(10.2%, 7.5%, 10.2%) | |
| HSL | hsl(300, 16%, 9%) | |
| HSV / HSB | hsv(300, 27%, 10%) | |
| CMYK | cmyk(0%, 27%, 0%, 90%) | |
| CIE LAB | lab(6.86, 5.04, -3.54) | |
| CIE LCH | lch(6.86, 6.16, 324.91) | |
| CIE XYZ | xyz(0.845, 0.76, 1.079) | |
| Decimal | 1708826 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A131A, 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 #1A131A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.15:1 | Fail | Fail | Fail |
| Sample text | 18.23:1 | Pass | Pass | Pass |
| #1A131A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.23:1 | Pass | Pass | Pass |
| Sample text | 1.15: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 #1A131A looks to people with the most common types of color vision deficiency.
#13151aProtanopia
no red cones#14161aDeuteranopia
no green cones#1a1415Tritanopia
no blue cones#151515Achromatopsia
no color vision
CSS examples
.background { background-color: #1a131a; }
.text { color: #1a131a; }
.border { border: 2px solid #1a131a; }
.transparent { background-color: rgb(26 19 26 / 50%); }
.gradient { background: linear-gradient(to right, #1a131a, #1a1316); }
Similar colors
#1a161dViolet Void#150811Noir Fiction#201b20Night Demons#16141cBack in Black#1f1518Bats Cloak#110011Glossy Black#16161dEigengrau#180614Crow
Closest common color name: Licorice.
Questions
- What color is #1A131A?
- #1A131A is a very dark, grayish magenta, closest to the named color Violet Void. It belongs to the black family of colors.
- What is the RGB value of #1A131A?
- The RGB value is 26, 19, 26: 26 red, 19 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #1A131A?
- The complementary color is #131A13, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A131A?
- White text. Black text has a contrast ratio of 1.15:1 and white text 18.23:1. WCAG asks for at least 4.5:1 for normal text.