#161222#161222

#161222 is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.6% C 0.032 H 294.7°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#161222
RGBrgb(22, 18, 34)
HSLhsl(255, 31%, 10%)
HSVhsv(255, 47%, 13%)
CMYKcmyk(35.3%, 47.1%, 0%, 86.7%)
CIE-LABlab(6.49, 6.26, -10.29)
CIE-LCHlch(6.49, 12.04, 301.30°)
OKLaboklab(19.56% 0.0134 -0.0291)
OKLCHoklch(19.56% 0.032 294.7)
XYZxyz(0.8358, 0.7187, 1.6077)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161222 #1E2212
analogous
#121622 #161222 #1E1222
triadic
#161222 #221612 #122216
tetradic
#161222 #221216 #1E2212 #12221E
square
#161222 #221216 #1E2212 #12221E
split-complementary
#161222 #221E12 #162212
monochromatic
#0D0B14 #0D0B14 #161222 #30274A #4A3C72

Accessibility & contrast

On white

18.36
#161222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#161222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161222
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161222#FFFFFF#000000##FFFFFF
##1612221.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1523
Deuteranopia (green-blind)
#0E1422
Tritanopia (blue-blind)
#131518
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #161222;
/* rgb */ color: rgb(22, 18, 34);
/* oklch */ color: oklch(19.6% 0.032 294.7);
Tailwind
colors: {
  custom: {
    50: '#534f5d',
    500: '#161222',
    950: '#000000',
  },
}
SCSS
$custom: #161222;
$custom-light: #534f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#161222",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 255,
    "s": 30.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19561,
    "c": 0.03206,
    "h": 294.7
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#161222
secondary
#505738
accent
#C761AD
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020204
muted
#787879

Preview Lab

Preview with #161222

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#161222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva