#15031F color
The hex color #15031F is a very dark, vivid violet.
In the RGB color model it is made of 8.2% red, 1.2% green and 12.2% blue (21, 3, 31).
Its hue angle is 279°, with 82% saturation and 7% lightness. For print, the CMYK equivalent is 32% cyan, 90% magenta, 0% yellow and 88% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.72:1).
#15031F color codes
| HEX | #15031F | |
|---|---|---|
| RGB | rgb(21, 3, 31) | |
| RGB percent | rgb(8.2%, 1.2%, 12.2%) | |
| HSL | hsl(279, 82%, 7%) | |
| HSV / HSB | hsv(279, 90%, 12%) | |
| CMYK | cmyk(32%, 90%, 0%, 88%) | |
| CIE LAB | lab(2.92, 11.54, -13.41) | |
| CIE LCH | lch(2.92, 17.69, 310.71) | |
| CIE XYZ | xyz(0.589, 0.323, 1.327) | |
| Decimal | 1377055 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #15031F, 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 #15031F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.72:1 | Pass | Pass | Pass |
| #15031F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.72:1 | Pass | Pass | Pass |
| Sample text | 1.06: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 #15031F looks to people with the most common types of color vision deficiency.
#000a20Protanopia
no red cones#010b1eDeuteranopia
no green cones#14080fTritanopia
no blue cones#0b0b0bAchromatopsia
no color vision
CSS examples
.background { background-color: #15031f; }
.text { color: #15031f; }
.border { border: 2px solid #15031f; }
.transparent { background-color: rgb(21 3 31 / 50%); }
.gradient { background: linear-gradient(to right, #15031f, #1f031b); }
Similar colors
#1d0d1dShot in the Dark#1c0f33Midnight Monarch#110011Glossy Black#180614Crow#220022Black Sabbath#060929Mysterious Depths#111122Corbeau#2b0f2eDark Prom Queen
Closest common color name: Dark Purple.
Questions
- What color is #15031F?
- #15031F is a very dark, vivid violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #15031F?
- The RGB value is 21, 3, 31: 21 red, 3 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #15031F?
- The complementary color is #0D1F03, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #15031F?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.72:1. WCAG asks for at least 4.5:1 for normal text.