#160217#160217

#160217 is a very dark, muted purple. Relative luminance 0.003; OKLCH L 14.8% C 0.057 H 326.2°. Best body text is #FFFFFF at 19.90:1 contrast (WCAG AA passes).

Color values

HEX#160217
RGBrgb(22, 2, 23)
HSLhsl(297, 84%, 5%)
HSVhsv(297, 91%, 9%)
CMYKcmyk(4.3%, 91.3%, 0%, 91%)
CIE-LABlab(2.49, 10.03, -7.68)
CIE-LCHlch(2.49, 12.63, 322.59°)
OKLaboklab(14.77% 0.0475 -0.0317)
OKLCHoklch(14.77% 0.057 326.2)
XYZxyz(0.5072, 0.2759, 0.8370)
Luminance0.0028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160217 #031702
analogous
#0C0217 #160217 #17020E
triadic
#160217 #171602 #021716
tetradic
#160217 #170C02 #031702 #020E17
square
#160217 #170C02 #031702 #020E17
split-complementary
#160217 #0E1702 #02170C
monochromatic
#1B021C #1B021C #1B021C #4C074F #820C88

Accessibility & contrast

On white

19.90
#160217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#160217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160217
19.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160217#FFFFFF#000000##FFFFFF
##1602171.0019.901.0619.90
#FFFFFF19.901.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000718
Deuteranopia (green-blind)
#050A16
Tritanopia (blue-blind)
#17040A
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #160217;
/* rgb */ color: rgb(22, 2, 23);
/* oklch */ color: oklch(14.8% 0.057 326.2);
Tailwind
colors: {
  custom: {
    50: '#524753',
    500: '#160217',
    950: '#000000',
  },
}
SCSS
$custom: #160217;
$custom-light: #524753;
$custom-dark: #000000;
JSON
{
  "hex": "#160217",
  "rgb": {
    "r": 22,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 297.143,
    "s": 84,
    "l": 4.902
  },
  "oklch": {
    "l": 0.14774,
    "c": 0.05708,
    "h": 326.2
  },
  "luminance": 0.00276
}

Semantic roles & 50–950 ramp

primary
#160217
secondary
#1B5D18
accent
#FA2E37
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020002
muted
#787778

Preview Lab

Preview with #160217

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

Preview Lab → · Contrast checker → · Palette generator →

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