#1A022B color
The hex color #1A022B is a very dark, vivid violet.
In the RGB color model it is made of 10.2% red, 0.8% green and 16.9% blue (26, 2, 43).
Its hue angle is 275°, with 91% saturation and 9% lightness. For print, the CMYK equivalent is 40% cyan, 95% magenta, 0% yellow and 83% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.31:1).
#1A022B color codes
| HEX | #1A022B | |
|---|---|---|
| RGB | rgb(26, 2, 43) | |
| RGB percent | rgb(10.2%, 0.8%, 16.9%) | |
| HSL | hsl(275, 91%, 9%) | |
| HSV / HSB | hsv(275, 95%, 17%) | |
| CMYK | cmyk(40%, 95%, 0%, 83%) | |
| CIE LAB | lab(3.95, 19.14, -21.07) | |
| CIE LCH | lch(3.95, 28.46, 312.25) | |
| CIE XYZ | xyz(0.884, 0.437, 2.323) | |
| Decimal | 1704491 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A022B, 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 #1A022B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.31:1 | Pass | Pass | Pass |
| #1A022B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.31:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #1A022B looks to people with the most common types of color vision deficiency.
#000d2cProtanopia
no red cones#000e2aDeuteranopia
no green cones#170b16Tritanopia
no blue cones#0e0e0eAchromatopsia
no color vision
CSS examples
.background { background-color: #1a022b; }
.text { color: #1a022b; }
.border { border: 2px solid #1a022b; }
.transparent { background-color: rgb(26 2 43 / 50%); }
.gradient { background: linear-gradient(to right, #1a022b, #2b0228); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#220033Coal Mine#220022Black Sabbath#2b0f2eDark Prom Queen#03012dMidnight#111144Deadly Depths#220044Your Darkness
Closest common color name: Dark Purple.
Questions
- What color is #1A022B?
- #1A022B is a very dark, vivid violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #1A022B?
- The RGB value is 26, 2, 43: 26 red, 2 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #1A022B?
- The complementary color is #132B02, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A022B?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.31:1. WCAG asks for at least 4.5:1 for normal text.