#1A0229 color
The hex color #1A0229 is a very dark, vivid violet.
In the RGB color model it is made of 10.2% red, 0.8% green and 16.1% blue (26, 2, 41).
Its hue angle is 277°, with 91% saturation and 8% lightness. For print, the CMYK equivalent is 37% cyan, 95% magenta, 0% yellow and 84% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.36:1).
#1A0229 color codes
| HEX | #1A0229 | |
|---|---|---|
| RGB | rgb(26, 2, 41) | |
| RGB percent | rgb(10.2%, 0.8%, 16.1%) | |
| HSL | hsl(277, 91%, 8%) | |
| HSV / HSB | hsv(277, 95%, 16%) | |
| CMYK | cmyk(37%, 95%, 0%, 84%) | |
| CIE LAB | lab(3.82, 18.26, -19.75) | |
| CIE LCH | lch(3.82, 26.9, 312.75) | |
| CIE XYZ | xyz(0.848, 0.423, 2.134) | |
| Decimal | 1704489 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A0229, 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 #1A0229 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.36:1 | Pass | Pass | Pass |
| #1A0229 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.36:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #1A0229 looks to people with the most common types of color vision deficiency.
#000d2aProtanopia
no red cones#000e28Deuteranopia
no green cones#180a14Tritanopia
no blue cones#0e0e0eAchromatopsia
no color vision
CSS examples
.background { background-color: #1a0229; }
.text { color: #1a0229; }
.border { border: 2px solid #1a0229; }
.transparent { background-color: rgb(26 2 41 / 50%); }
.gradient { background: linear-gradient(to right, #1a0229, #290225); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#220033Coal Mine#220022Black Sabbath#2b0f2eDark Prom Queen#301934Dark Purple#03012dMidnight#071037Infinite Night
Questions
- What color is #1A0229?
- #1A0229 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 #1A0229?
- The RGB value is 26, 2, 41: 26 red, 2 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #1A0229?
- The complementary color is #112902, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A0229?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.36:1. WCAG asks for at least 4.5:1 for normal text.