Skip to content

#16111f

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

RGB
22, 17, 31
HSL
261°, 29%, 9%
CMYK
29, 45, 0, 88
Luminance
0.0067

Every format

HEX#16111f
RGBrgb(22, 17, 31)
HSLhsl(261, 29%, 9%)
CMYKcmyk(29%, 45%, 0%, 88%)
LABlab(6.1 5.8 -8.7)
LCHlch(6.1 10.4 303.8)
OKLCHoklch(0.191 0.029 300.1)

Copy-ready code

/* CSS */
color: #16111f;
background-color: #16111f;
/* Tailwind (arbitrary) */
class="text-[#16111f] bg-[#16111f]"
/* SCSS */
$brand: #16111f;
/* SwiftUI */
Color(red: 0.086, green: 0.067, blue: 0.122)
/* Android */
Color.parseColor("#16111f")

Accessibility — WCAG contrast

Aa
#16111f on white: 18.52:1
AA ✓ pass · AA-large · AAA
Aa
#16111f on black: 1.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.6%
Green6.7%
Blue12.2%

CMYK percentages

Cyan29.0%
Magenta45.2%
Yellow0.0%
Key (black)87.8%

Color previews

#16111f text on a black background

contrast 1.13:1

Card sample

#16111f text on a white background

contrast 18.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(22, 17, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 17, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #16111f;
background: linear-gradient(135deg, #16111f, #1F111F);

Monochromatic scale

Palettes built from #16111f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #16111f in the Color Lab