#180017 color
The hex color #180017 is a very dark, vivid magenta.
In the RGB color model it is made of 9.4% red, 0% green and 9% blue (24, 0, 23).
Its hue angle is 303°, with 100% saturation and 5% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 4% yellow and 91% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.98:1).
#180017 color codes
| HEX | #180017 | |
|---|---|---|
| RGB | rgb(24, 0, 23) | |
| RGB percent | rgb(9.4%, 0%, 9%) | |
| HSL | hsl(303, 100%, 5%) | |
| HSV / HSB | hsv(303, 100%, 9%) | |
| CMYK | cmyk(0%, 100%, 4%, 91%) | |
| CIE LAB | lab(2.31, 11.79, -7.91) | |
| CIE LCH | lch(2.31, 14.2, 326.15) | |
| CIE XYZ | xyz(0.531, 0.256, 0.832) | |
| Decimal | 1572887 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #180017, 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 #180017 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 19.98:1 | Pass | Pass | Pass |
| #180017 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.98:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #180017 looks to people with the most common types of color vision deficiency.
#000618Protanopia
no red cones#050a16Deuteranopia
no green cones#190209Tritanopia
no blue cones#080808Achromatopsia
no color vision
CSS examples
.background { background-color: #180017; }
.text { color: #180017; }
.border { border: 2px solid #180017; }
.transparent { background-color: rgb(24 0 23 / 50%); }
.gradient { background: linear-gradient(to right, #180017, #18000b); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#110011Glossy Black#220011Belladonna#150811Noir Fiction#220022Black Sabbath#2c1620Black Cherry#2b0f2eDark Prom Queen
Closest common color name: Dark Purple.
Questions
- What color is #180017?
- #180017 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 #180017?
- The RGB value is 24, 0, 23: 24 red, 0 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #180017?
- The complementary color is #001801, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #180017?
- White text. Black text has a contrast ratio of 1.05:1 and white text 19.98:1. WCAG asks for at least 4.5:1 for normal text.