#0f001f
a deep, electric violet · warm · closest name: black
RGB
15, 0, 31
HSL
269°, 100%, 6%
CMYK
52, 100, 0, 88
Luminance
0.0020
Every format
| HEX | #0f001f |
| RGB | rgb(15, 0, 31) |
| HSL | hsl(269, 100%, 6%) |
| CMYK | cmyk(52%, 100%, 0%, 88%) |
| LAB | lab(1.8 10.4 -15.1) |
| LCH | lch(1.8 18.4 304.5) |
| OKLCH | oklch(0.136 0.071 303.9) |
Copy-ready code
/* CSS */
color: #0f001f;
background-color: #0f001f;
/* Tailwind (arbitrary) */
class="text-[#0f001f] bg-[#0f001f]"
/* SCSS */
$brand: #0f001f;
/* SwiftUI */
Color(red: 0.059, green: 0.000, blue: 0.122)
/* Android */
Color.parseColor("#0f001f")Accessibility — WCAG contrast
Aa
#0f001f on white: 20.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f001f on black: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green0.0%
Blue12.2%
CMYK percentages
Cyan51.6%
Magenta100.0%
Yellow0.0%
Key (black)87.8%
Color previews
#0f001f text on a black background
contrast 1.04:1
Card sample
#0f001f text on a white background
contrast 20.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f001f;
Background color
Panel with #0f001f background
background-color: #0f001f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f001f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 0, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 0, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f001f; background: linear-gradient(135deg, #0f001f, #1F001A);