Skip to content

#0b040d

a deep, vivid violet · warm · closest name: black

RGB
11, 4, 13
HSL
287°, 53%, 3%
CMYK
15, 69, 0, 95
Luminance
0.0019

Every format

HEX#0b040d
RGBrgb(11, 4, 13)
HSLhsl(287, 53%, 3%)
CMYKcmyk(15%, 69%, 0%, 95%)
LABlab(1.7 3.1 -2.9)
LCHlch(1.7 4.2 317.5)
OKLCHoklch(0.126 0.027 319.9)

Copy-ready code

/* CSS */
color: #0b040d;
background-color: #0b040d;
/* Tailwind (arbitrary) */
class="text-[#0b040d] bg-[#0b040d]"
/* SCSS */
$brand: #0b040d;
/* SwiftUI */
Color(red: 0.043, green: 0.016, blue: 0.051)
/* Android */
Color.parseColor("#0b040d")

Accessibility — WCAG contrast

Aa
#0b040d on white: 20.24:1
AA ✓ pass · AA-large · AAA
Aa
#0b040d on black: 1.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green1.6%
Blue5.1%

CMYK percentages

Cyan15.4%
Magenta69.2%
Yellow0.0%
Key (black)94.9%

Color previews

#0b040d text on a black background

contrast 1.04:1

Card sample

#0b040d text on a white background

contrast 20.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0b040d;
Background color
Panel with #0b040d background
background-color: #0b040d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0b040d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(11, 4, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 4, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b040d;
background: linear-gradient(135deg, #0b040d, #0D0409);

Monochromatic scale

Palettes built from #0b040d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b040d in the Color Lab