#160222#160222

#160222 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.070 H 310.8°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#160222
RGBrgb(22, 2, 34)
HSLhsl(278, 89%, 7%)
HSVhsv(278, 94%, 13%)
CMYKcmyk(35.3%, 94.1%, 0%, 86.7%)
CIE-LABlab(2.98, 13.44, -15.68)
CIE-LCHlch(2.98, 20.65, 310.60°)
OKLaboklab(15.79% 0.0456 -0.0529)
OKLCHoklch(15.79% 0.07 310.8)
XYZxyz(0.6413, 0.3295, 1.5429)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160222 #0E2202
analogous
#060222 #160222 #22021E
triadic
#160222 #221602 #022216
tetradic
#160222 #220602 #0E2202 #021E22
square
#160222 #220602 #0E2202 #021E22
split-complementary
#160222 #1E2202 #022206
monochromatic
#13021D #13021D #160222 #3B055C #610996

Accessibility & contrast

On white

19.70
#160222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#160222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160222
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160222#FFFFFF#000000##FFFFFF
##1602221.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A23
Deuteranopia (green-blind)
#000B21
Tritanopia (blue-blind)
#140810
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #160222;
/* rgb */ color: rgb(22, 2, 34);
/* oklch */ color: oklch(15.8% 0.070 310.8);
Tailwind
colors: {
  custom: {
    50: '#52475d',
    500: '#160222',
    950: '#000000',
  },
}
SCSS
$custom: #160222;
$custom-light: #52475d;
$custom-dark: #000000;
JSON
{
  "hex": "#160222",
  "rgb": {
    "r": 22,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 277.5,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15791,
    "c": 0.06978,
    "h": 310.8
  },
  "luminance": 0.00329
}

Semantic roles & 50–950 ramp

primary
#160222
secondary
#366818
accent
#FF2979
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #160222

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

Preview Lab → · Contrast checker → · Palette generator →

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