#1A0A27 color
The hex color #1A0A27 is a very dark, moderate violet.
In the RGB color model it is made of 10.2% red, 3.9% green and 15.3% blue (26, 10, 39).
Its hue angle is 273°, with 59% saturation and 10% lightness. For print, the CMYK equivalent is 33% cyan, 74% magenta, 0% yellow and 85% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.81:1).
#1A0A27 color codes
| HEX | #1A0A27 | |
|---|---|---|
| RGB | rgb(26, 10, 39) | |
| RGB percent | rgb(10.2%, 3.9%, 15.3%) | |
| HSL | hsl(273, 59%, 10%) | |
| HSV / HSB | hsv(273, 74%, 15%) | |
| CMYK | cmyk(33%, 74%, 0%, 85%) | |
| CIE LAB | lab(5.27, 14.13, -15.96) | |
| CIE LCH | lch(5.27, 21.32, 311.53) | |
| CIE XYZ | xyz(0.901, 0.583, 1.984) | |
| Decimal | 1706535 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A0A27, 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 #1A0A27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.81:1 | Pass | Pass | Pass |
| #1A0A27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.81:1 | Pass | Pass | Pass |
| Sample text | 1.12: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 #1A0A27 looks to people with the most common types of color vision deficiency.
#021128Protanopia
no red cones#061226Deuteranopia
no green cones#181017Tritanopia
no blue cones#121212Achromatopsia
no color vision
CSS examples
.background { background-color: #1a0a27; }
.text { color: #1a0a27; }
.border { border: 2px solid #1a0a27; }
.transparent { background-color: rgb(26 10 39 / 50%); }
.gradient { background: linear-gradient(to right, #1a0a27, #270a26); }
Similar colors
#1c0f33Midnight Monarch#2b0f2eDark Prom Queen#220022Black Sabbath#1d0d1dShot in the Dark#301934Dark Purple#160435Quiet Abyss#220033Coal Mine#060929Mysterious Depths
Questions
- What color is #1A0A27?
- #1A0A27 is a very dark, moderate violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #1A0A27?
- The RGB value is 26, 10, 39: 26 red, 10 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #1A0A27?
- The complementary color is #17270A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A0A27?
- White text. Black text has a contrast ratio of 1.12:1 and white text 18.81:1. WCAG asks for at least 4.5:1 for normal text.