Skip to content

#0b080d

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

RGB
11, 8, 13
HSL
276°, 24%, 4%
CMYK
15, 39, 0, 95
Luminance
0.0027

Every format

HEX#0b080d
RGBrgb(11, 8, 13)
HSLhsl(276, 24%, 4%)
CMYKcmyk(15%, 39%, 0%, 95%)
LABlab(2.5 1.5 -1.7)
LCHlch(2.5 2.3 311.6)
OKLCHoklch(0.141 0.012 312.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b080d on white: 19.91:1
AA ✓ pass · AA-large · AAA
Aa
#0b080d on black: 1.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green3.1%
Blue5.1%

CMYK percentages

Cyan15.4%
Magenta38.5%
Yellow0.0%
Key (black)94.9%

Color previews

#0b080d text on a black background

contrast 1.05:1

Card sample

#0b080d text on a white background

contrast 19.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b080d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b080d in the Color Lab