#150017 color
The hex color #150017 is a very dark, vivid magenta.
In the RGB color model it is made of 8.2% red, 0% green and 9% blue (21, 0, 23).
Its hue angle is 295°, with 100% saturation and 5% lightness. For print, the CMYK equivalent is 9% cyan, 100% magenta, 0% yellow and 91% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.11:1).
#150017 color codes
| HEX | #150017 | |
|---|---|---|
| RGB | rgb(21, 0, 23) | |
| RGB percent | rgb(8.2%, 0%, 9%) | |
| HSL | hsl(295, 100%, 5%) | |
| HSV / HSB | hsv(295, 100%, 9%) | |
| CMYK | cmyk(9%, 100%, 0%, 91%) | |
| CIE LAB | lab(2, 10.39, -8.41) | |
| CIE LCH | lch(2, 13.36, 321.01) | |
| CIE XYZ | xyz(0.464, 0.221, 0.829) | |
| Decimal | 1376279 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #150017, 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 #150017 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.11:1 | Pass | Pass | Pass |
| #150017 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.11:1 | Pass | Pass | Pass |
| Sample text | 1.04: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 #150017 looks to people with the most common types of color vision deficiency.
#000618Protanopia
no red cones#030816Deuteranopia
no green cones#160209Tritanopia
no blue cones#070707Achromatopsia
no color vision
CSS examples
.background { background-color: #150017; }
.text { color: #150017; }
.border { border: 2px solid #150017; }
.transparent { background-color: rgb(21 0 23 / 50%); }
.gradient { background: linear-gradient(to right, #150017, #17000e); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#110011Glossy Black#150811Noir Fiction#220011Belladonna#111122Corbeau#060313Obsidian Shard#2c1620Black Cherry
Closest common color name: Dark Purple.
Questions
- What color is #150017?
- #150017 is a very dark, vivid magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #150017?
- The RGB value is 21, 0, 23: 21 red, 0 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #150017?
- The complementary color is #021700, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #150017?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.11:1. WCAG asks for at least 4.5:1 for normal text.