#0F021A color
The hex color #0F021A is a very dark, vivid violet.
In the RGB color model it is made of 5.9% red, 0.8% green and 10.2% blue (15, 2, 26).
Its hue angle is 273°, with 86% saturation and 5% lightness. For print, the CMYK equivalent is 42% cyan, 92% magenta, 0% yellow and 90% black.
The closest named color is Glossy Black (#110011), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.12:1).
#0F021A color codes
| HEX | #0F021A | |
|---|---|---|
| RGB | rgb(15, 2, 26) | |
| RGB percent | rgb(5.9%, 0.8%, 10.2%) | |
| HSL | hsl(273, 86%, 5%) | |
| HSV / HSB | hsv(273, 92%, 10%) | |
| CMYK | cmyk(42%, 92%, 0%, 90%) | |
| CIE LAB | lab(1.98, 8.05, -10.85) | |
| CIE LCH | lch(1.98, 13.51, 306.56) | |
| CIE XYZ | xyz(0.405, 0.22, 0.998) | |
| Decimal | 983578 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F021A, 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 #0F021A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.12:1 | Pass | Pass | Pass |
| #0F021A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.12: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 #0F021A looks to people with the most common types of color vision deficiency.
#00071bProtanopia
no red cones#000719Deuteranopia
no green cones#0d060cTritanopia
no blue cones#070707Achromatopsia
no color vision
CSS examples
.background { background-color: #0f021a; }
.text { color: #0f021a; }
.border { border: 2px solid #0f021a; }
.transparent { background-color: rgb(15 2 26 / 50%); }
.gradient { background: linear-gradient(to right, #0f021a, #1a0219); }
Similar colors
#110011Glossy Black#111122Corbeau#1d0d1dShot in the Dark#180614Crow#060313Obsidian Shard#150811Noir Fiction#060929Mysterious Depths#050d25Void
Closest common color name: Dark Purple.
Questions
- What color is #0F021A?
- #0F021A is a very dark, vivid violet, closest to the named color Glossy Black. It belongs to the black family of colors.
- What is the RGB value of #0F021A?
- The RGB value is 15, 2, 26: 15 red, 2 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #0F021A?
- The complementary color is #0D1A02, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F021A?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.12:1. WCAG asks for at least 4.5:1 for normal text.