#0b0213
a deep, electric violet · warm · closest name: black
RGB
11, 2, 19
HSL
272°, 81%, 4%
CMYK
42, 90, 0, 93
Luminance
0.0016
Every format
| HEX | #0b0213 |
| RGB | rgb(11, 2, 19) |
| HSL | hsl(272, 81%, 4%) |
| CMYK | cmyk(42%, 90%, 0%, 93%) |
| LAB | lab(1.5 5.1 -6.5) |
| LCH | lch(1.5 8.3 307.8) |
| OKLCH | oklch(0.123 0.046 309.4) |
Copy-ready code
/* CSS */
color: #0b0213;
background-color: #0b0213;
/* Tailwind (arbitrary) */
class="text-[#0b0213] bg-[#0b0213]"
/* SCSS */
$brand: #0b0213;
/* SwiftUI */
Color(red: 0.043, green: 0.008, blue: 0.075)
/* Android */
Color.parseColor("#0b0213")Accessibility — WCAG contrast
Aa
#0b0213 on white: 20.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0b0213 on black: 1.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.3%
Green0.8%
Blue7.5%
CMYK percentages
Cyan42.1%
Magenta89.5%
Yellow0.0%
Key (black)92.5%
Color previews
#0b0213 text on a black background
contrast 1.03:1
Card sample
#0b0213 text on a white background
contrast 20.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0b0213;
Background color
Panel with #0b0213 background
background-color: #0b0213;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0b0213;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(11, 2, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 2, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b0213; background: linear-gradient(135deg, #0b0213, #130210);