#0c0713
a deep, vivid violet · warm · closest name: black
RGB
12, 7, 19
HSL
265°, 46%, 5%
CMYK
37, 63, 0, 93
Luminance
0.0028
Every format
| HEX | #0c0713 |
| RGB | rgb(12, 7, 19) |
| HSL | hsl(265, 46%, 5%) |
| CMYK | cmyk(37%, 63%, 0%, 93%) |
| LAB | lab(2.5 3.4 -5.0) |
| LCH | lch(2.5 6.0 303.8) |
| OKLCH | oklch(0.143 0.027 303.0) |
Copy-ready code
/* CSS */
color: #0c0713;
background-color: #0c0713;
/* Tailwind (arbitrary) */
class="text-[#0c0713] bg-[#0c0713]"
/* SCSS */
$brand: #0c0713;
/* SwiftUI */
Color(red: 0.047, green: 0.027, blue: 0.075)
/* Android */
Color.parseColor("#0c0713")Accessibility — WCAG contrast
Aa
#0c0713 on white: 19.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c0713 on black: 1.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green2.7%
Blue7.5%
CMYK percentages
Cyan36.8%
Magenta63.2%
Yellow0.0%
Key (black)92.5%
Color previews
#0c0713 text on a black background
contrast 1.06:1
Card sample
#0c0713 text on a white background
contrast 19.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c0713;
Background color
Panel with #0c0713 background
background-color: #0c0713;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c0713;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 7, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 7, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c0713; background: linear-gradient(135deg, #0c0713, #130712);