#0F051F color
The hex color #0F051F is a very dark, moderate violet.
In the RGB color model it is made of 5.9% red, 2% green and 12.2% blue (15, 5, 31).
Its hue angle is 263°, with 72% saturation and 7% lightness. For print, the CMYK equivalent is 52% cyan, 84% magenta, 0% yellow and 88% black.
The closest named color is Corbeau (#111122), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.78:1).
#0F051F color codes
| HEX | #0F051F | |
|---|---|---|
| RGB | rgb(15, 5, 31) | |
| RGB percent | rgb(5.9%, 2%, 12.2%) | |
| HSL | hsl(263, 72%, 7%) | |
| HSV / HSB | hsv(263, 84%, 12%) | |
| CMYK | cmyk(52%, 84%, 0%, 88%) | |
| CIE LAB | lab(2.79, 8.39, -13.65) | |
| CIE LCH | lch(2.79, 16.03, 301.57) | |
| CIE XYZ | xyz(0.499, 0.309, 1.329) | |
| Decimal | 984351 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F051F, 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 #0F051F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.78:1 | Pass | Pass | Pass |
| #0F051F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.78: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 #0F051F looks to people with the most common types of color vision deficiency.
#000a20Protanopia
no red cones#000a1eDeuteranopia
no green cones#0b0a10Tritanopia
no blue cones#0a0a0aAchromatopsia
no color vision
CSS examples
.background { background-color: #0f051f; }
.text { color: #0f051f; }
.border { border: 2px solid #0f051f; }
.transparent { background-color: rgb(15 5 31 / 50%); }
.gradient { background: linear-gradient(to right, #0f051f, #1c051f); }
Similar colors
#111122Corbeau#060929Mysterious Depths#151931Dark Knight#050d25Void#1d0d1dShot in the Dark#110011Glossy Black#060313Obsidian Shard#03012dMidnight
Closest common color name: Dark Purple.
Questions
- What color is #0F051F?
- #0F051F is a very dark, moderate violet, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #0F051F?
- The RGB value is 15, 5, 31: 15 red, 5 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #0F051F?
- The complementary color is #151F05, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F051F?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.78:1. WCAG asks for at least 4.5:1 for normal text.