Skip to content

#0b080f

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

RGB
11, 8, 15
HSL
266°, 30%, 5%
CMYK
27, 47, 0, 94
Luminance
0.0028

Every format

HEX#0b080f
RGBrgb(11, 8, 15)
HSLhsl(266, 30%, 5%)
CMYKcmyk(27%, 47%, 0%, 94%)
LABlab(2.5 1.9 -2.6)
LCHlch(2.5 3.2 305.2)
OKLCHoklch(0.142 0.016 304.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b080f on white: 19.89:1
AA ✓ pass · AA-large · AAA
Aa
#0b080f on black: 1.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan26.7%
Magenta46.7%
Yellow0.0%
Key (black)94.1%

Color previews

#0b080f text on a black background

contrast 1.06:1

Card sample

#0b080f text on a white background

contrast 19.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b080f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b080f in the Color Lab