#0B0816 color
The hex color #0B0816 is a very dark, desaturated violet.
In the RGB color model it is made of 4.3% red, 3.1% green and 8.6% blue (11, 8, 22).
Its hue angle is 253°, with 47% saturation and 6% lightness. For print, the CMYK equivalent is 50% cyan, 64% magenta, 0% yellow and 91% black.
The closest named color is Obsidian Shard (#060313), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.8:1).
#0B0816 color codes
| HEX | #0B0816 | |
|---|---|---|
| RGB | rgb(11, 8, 22) | |
| RGB percent | rgb(4.3%, 3.1%, 8.6%) | |
| HSL | hsl(253, 47%, 6%) | |
| HSV / HSB | hsv(253, 64%, 9%) | |
| CMYK | cmyk(50%, 64%, 0%, 91%) | |
| CIE LAB | lab(2.73, 3.35, -6.7) | |
| CIE LCH | lch(2.73, 7.49, 296.6) | |
| CIE XYZ | xyz(0.37, 0.303, 0.798) | |
| Decimal | 722966 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B0816, 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 #0B0816 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.8:1 | Pass | Pass | Pass |
| #0B0816 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.8: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 #0B0816 looks to people with the most common types of color vision deficiency.
#050a17Protanopia
no red cones#050a16Deuteranopia
no green cones#090a0dTritanopia
no blue cones#0a0a0aAchromatopsia
no color vision
CSS examples
.background { background-color: #0b0816; }
.text { color: #0b0816; }
.border { border: 2px solid #0b0816; }
.transparent { background-color: rgb(11 8 22 / 50%); }
.gradient { background: linear-gradient(to right, #0b0816, #120816); }
Similar colors
#060313Obsidian Shard#080813Narwhal Gray#16141cBack in Black#0b0c14Midnight Oil#16161dEigengrau#1a161dViolet Void#111122Corbeau#060b14Dark Rift
Closest common color name: Midnight Black.
Questions
- What color is #0B0816?
- #0B0816 is a very dark, desaturated violet, closest to the named color Obsidian Shard. It belongs to the black family of colors.
- What is the RGB value of #0B0816?
- The RGB value is 11, 8, 22: 11 red, 8 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #0B0816?
- The complementary color is #131608, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B0816?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.8:1. WCAG asks for at least 4.5:1 for normal text.