#15072A color
The hex color #15072A is a very dark, moderate violet.
In the RGB color model it is made of 8.2% red, 2.7% green and 16.5% blue (21, 7, 42).
Its hue angle is 264°, with 71% saturation and 10% lightness. For print, the CMYK equivalent is 50% cyan, 83% magenta, 0% yellow and 84% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.17:1).
#15072A color codes
| HEX | #15072A | |
|---|---|---|
| RGB | rgb(21, 7, 42) | |
| RGB percent | rgb(8.2%, 2.7%, 16.5%) | |
| HSL | hsl(264, 71%, 10%) | |
| HSV / HSB | hsv(264, 83%, 16%) | |
| CMYK | cmyk(50%, 83%, 0%, 84%) | |
| CIE LAB | lab(4.32, 14.26, -19.76) | |
| CIE LCH | lch(4.32, 24.37, 305.82) | |
| CIE XYZ | xyz(0.803, 0.479, 2.24) | |
| Decimal | 1378090 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #15072A, 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 #15072A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.17:1 | Pass | Pass | Pass |
| #15072A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.17:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #15072A looks to people with the most common types of color vision deficiency.
#000f2bProtanopia
no red cones#000f29Deuteranopia
no green cones#100f17Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #15072a; }
.text { color: #15072a; }
.border { border: 2px solid #15072a; }
.transparent { background-color: rgb(21 7 42 / 50%); }
.gradient { background: linear-gradient(to right, #15072a, #27072a); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#03012dMidnight#060929Mysterious Depths#071037Infinite Night#00022eIllicit Darkness#000435Oblivion#220033Coal Mine
Closest common color name: Dark Purple.
Questions
- What color is #15072A?
- #15072A 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 #15072A?
- The RGB value is 21, 7, 42: 21 red, 7 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #15072A?
- The complementary color is #1C2A07, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #15072A?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.17:1. WCAG asks for at least 4.5:1 for normal text.