#0B0612 color
The hex color #0B0612 is a very dark, moderate violet.
In the RGB color model it is made of 4.3% red, 2.4% green and 7.1% blue (11, 6, 18).
Its hue angle is 265°, with 50% saturation and 5% lightness. For print, the CMYK equivalent is 39% cyan, 67% magenta, 0% yellow and 93% black.
The closest named color is Obsidian Shard (#060313), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.02:1).
#0B0612 color codes
| HEX | #0B0612 | |
|---|---|---|
| RGB | rgb(11, 6, 18) | |
| RGB percent | rgb(4.3%, 2.4%, 7.1%) | |
| HSL | hsl(265, 50%, 5%) | |
| HSV / HSB | hsv(265, 67%, 7%) | |
| CMYK | cmyk(39%, 67%, 0%, 93%) | |
| CIE LAB | lab(2.21, 3.25, -4.81) | |
| CIE LCH | lch(2.21, 5.8, 304.06) | |
| CIE XYZ | xyz(0.312, 0.245, 0.603) | |
| Decimal | 722450 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0B0612, 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 #0B0612 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 20.02:1 | Pass | Pass | Pass |
| #0B0612 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.02:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #0B0612 looks to people with the most common types of color vision deficiency.
#040812Protanopia
no red cones#050812Deuteranopia
no green cones#0a080aTritanopia
no blue cones#080808Achromatopsia
no color vision
CSS examples
.background { background-color: #0b0612; }
.text { color: #0b0612; }
.border { border: 2px solid #0b0612; }
.transparent { background-color: rgb(11 6 18 / 50%); }
.gradient { background: linear-gradient(to right, #0b0612, #110612); }
Similar colors
#060313Obsidian Shard#080813Narwhal Gray#0b0c14Midnight Oil#16141cBack in Black#1a161dViolet Void#16161dEigengrau#150811Noir Fiction#060b14Dark Rift
Closest common color name: Midnight Black.
Questions
- What color is #0B0612?
- #0B0612 is a very dark, moderate violet, closest to the named color Obsidian Shard. It belongs to the black family of colors.
- What is the RGB value of #0B0612?
- The RGB value is 11, 6, 18: 11 red, 6 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #0B0612?
- The complementary color is #0D1206, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0B0612?
- White text. Black text has a contrast ratio of 1.05:1 and white text 20.02:1. WCAG asks for at least 4.5:1 for normal text.