Skip to content

#080112

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

RGB
8, 1, 18
HSL
265°, 90%, 4%
CMYK
56, 94, 0, 93
Luminance
0.0012

Every format

HEX#080112
RGBrgb(8, 1, 18)
HSLhsl(265, 90%, 4%)
CMYKcmyk(56%, 94%, 0%, 93%)
LABlab(1.1 4.5 -6.5)
LCHlch(1.1 7.9 304.4)
OKLCHoklch(0.112 0.048 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080112 on white: 20.52:1
AA ✓ pass · AA-large · AAA
Aa
#080112 on black: 1.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green0.4%
Blue7.1%

CMYK percentages

Cyan55.6%
Magenta94.4%
Yellow0.0%
Key (black)92.9%

Color previews

#080112 text on a black background

contrast 1.02:1

Card sample

#080112 text on a white background

contrast 20.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080112

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080112 in the Color Lab