#1A0F33 color
The hex color #1A0F33 is a very dark, moderate violet.
In the RGB color model it is made of 10.2% red, 5.9% green and 20% blue (26, 15, 51).
Its hue angle is 258°, with 55% saturation and 13% lightness. For print, the CMYK equivalent is 49% cyan, 71% magenta, 0% yellow and 80% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.1:1).
#1A0F33 color codes
| HEX | #1A0F33 | |
|---|---|---|
| RGB | rgb(26, 15, 51) | |
| RGB percent | rgb(10.2%, 5.9%, 20%) | |
| HSL | hsl(258, 55%, 13%) | |
| HSV / HSB | hsv(258, 71%, 20%) | |
| CMYK | cmyk(49%, 71%, 0%, 80%) | |
| CIE LAB | lab(7.23, 16.12, -21.82) | |
| CIE LCH | lch(7.23, 27.12, 306.45) | |
| CIE XYZ | xyz(1.194, 0.8, 3.223) | |
| Decimal | 1707827 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A0F33, 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 #1A0F33 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.1:1 | Pass | Pass | Pass |
| #1A0F33 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.1:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #1A0F33 looks to people with the most common types of color vision deficiency.
#001634Protanopia
no red cones#011532Deuteranopia
no green cones#13171fTritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #1a0f33; }
.text { color: #1a0f33; }
.border { border: 2px solid #1a0f33; }
.transparent { background-color: rgb(26 15 51 / 50%); }
.gradient { background: linear-gradient(to right, #1a0f33, #2c0f33); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#071037Infinite Night#211d49Azulado#111144Deadly Depths#03012dMidnight#220033Coal Mine#2a2243Midnight Velvet
Closest common color name: Dark Purple.
Questions
- What color is #1A0F33?
- #1A0F33 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 #1A0F33?
- The RGB value is 26, 15, 51: 26 red, 15 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #1A0F33?
- The complementary color is #28330F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A0F33?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.1:1. WCAG asks for at least 4.5:1 for normal text.