#1A0B34 color
The hex color #1A0B34 is a very dark, moderate violet.
In the RGB color model it is made of 10.2% red, 4.3% green and 20.4% blue (26, 11, 52).
Its hue angle is 262°, with 65% saturation and 12% lightness. For print, the CMYK equivalent is 50% cyan, 79% magenta, 0% yellow and 80% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.4:1).
#1A0B34 color codes
| HEX | #1A0B34 | |
|---|---|---|
| RGB | rgb(26, 11, 52) | |
| RGB percent | rgb(10.2%, 4.3%, 20.4%) | |
| HSL | hsl(262, 65%, 12%) | |
| HSV / HSB | hsv(262, 79%, 20%) | |
| CMYK | cmyk(50%, 79%, 0%, 80%) | |
| CIE LAB | lab(6.39, 18.81, -23.91) | |
| CIE LCH | lch(6.39, 30.42, 308.19) | |
| CIE XYZ | xyz(1.165, 0.707, 3.323) | |
| Decimal | 1706804 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A0B34, 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 #1A0B34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.4:1 | Pass | Pass | Pass |
| #1A0B34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.4:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #1A0B34 looks to people with the most common types of color vision deficiency.
#001435Protanopia
no red cones#001433Deuteranopia
no green cones#13151eTritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #1a0b34; }
.text { color: #1a0b34; }
.border { border: 2px solid #1a0b34; }
.transparent { background-color: rgb(26 11 52 / 50%); }
.gradient { background: linear-gradient(to right, #1a0b34, #2f0b34); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#220033Coal Mine#111144Deadly Depths#071037Infinite Night#211d49Azulado#03012dMidnight#231c4dSilent Orbit
Closest common color name: Dark Purple.
Questions
- What color is #1A0B34?
- #1A0B34 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 #1A0B34?
- The RGB value is 26, 11, 52: 26 red, 11 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #1A0B34?
- The complementary color is #25340B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A0B34?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.4:1. WCAG asks for at least 4.5:1 for normal text.