#0F0421 color
The hex color #0F0421 is a very dark, moderate violet.
In the RGB color model it is made of 5.9% red, 1.6% green and 12.9% blue (15, 4, 33).
Its hue angle is 263°, with 78% saturation and 7% lightness. For print, the CMYK equivalent is 55% cyan, 88% magenta, 0% yellow and 87% black.
The closest named color is Mysterious Depths (#060929), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.82:1).
#0F0421 color codes
| HEX | #0F0421 | |
|---|---|---|
| RGB | rgb(15, 4, 33) | |
| RGB percent | rgb(5.9%, 1.6%, 12.9%) | |
| HSL | hsl(263, 78%, 7%) | |
| HSV / HSB | hsv(263, 88%, 13%) | |
| CMYK | cmyk(55%, 88%, 0%, 87%) | |
| CIE LAB | lab(2.69, 9.48, -15.38) | |
| CIE LCH | lch(2.69, 18.07, 301.65) | |
| CIE XYZ | xyz(0.515, 0.298, 1.469) | |
| Decimal | 984097 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F0421, 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 #0F0421 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.82:1 | Pass | Pass | Pass |
| #0F0421 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.82: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 #0F0421 looks to people with the most common types of color vision deficiency.
#000a22Protanopia
no red cones#000920Deuteranopia
no green cones#0a0a11Tritanopia
no blue cones#0a0a0aAchromatopsia
no color vision
CSS examples
.background { background-color: #0f0421; }
.text { color: #0f0421; }
.border { border: 2px solid #0f0421; }
.transparent { background-color: rgb(15 4 33 / 50%); }
.gradient { background: linear-gradient(to right, #0f0421, #1d0421); }
Similar colors
#060929Mysterious Depths#111122Corbeau#151931Dark Knight#050d25Void#03012dMidnight#1c0f33Midnight Monarch#1d0d1dShot in the Dark#00022eIllicit Darkness
Closest common color name: Dark Purple.
Questions
- What color is #0F0421?
- #0F0421 is a very dark, moderate violet, closest to the named color Mysterious Depths. It belongs to the black family of colors.
- What is the RGB value of #0F0421?
- The RGB value is 15, 4, 33: 15 red, 4 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #0F0421?
- The complementary color is #162104, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F0421?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.82:1. WCAG asks for at least 4.5:1 for normal text.