#160218#160218

#160218 is a very dark, muted purple. Relative luminance 0.003; OKLCH L 14.9% C 0.058 H 324.6°. Best body text is #FFFFFF at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#160218
RGBrgb(22, 2, 24)
HSLhsl(295, 85%, 5%)
HSVhsv(295, 92%, 9%)
CMYKcmyk(8.3%, 91.7%, 0%, 90.6%)
CIE-LABlab(2.53, 10.29, -8.38)
CIE-LCHlch(2.53, 13.27, 320.85°)
OKLaboklab(14.86% 0.0474 -0.0337)
OKLCHoklch(14.86% 0.058 324.6)
XYZxyz(0.5174, 0.2800, 0.8908)
Luminance0.0028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160218 #041802
analogous
#0B0218 #160218 #18020F
triadic
#160218 #181602 #021816
tetradic
#160218 #180B02 #041802 #020F18
square
#160218 #180B02 #041802 #020F18
split-complementary
#160218 #0F1802 #02180B
monochromatic
#1A021C #1A021C #1A021C #4A0750 #7E0B89

Accessibility & contrast

On white

19.89
#160218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160218
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160218#FFFFFF#000000##FFFFFF
##1602181.0019.891.0619.89
#FFFFFF19.891.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000819
Deuteranopia (green-blind)
#050A17
Tritanopia (blue-blind)
#17040B
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #160218;
/* rgb */ color: rgb(22, 2, 24);
/* oklch */ color: oklch(14.9% 0.058 324.6);
Tailwind
colors: {
  custom: {
    50: '#524754',
    500: '#160218',
    950: '#000000',
  },
}
SCSS
$custom: #160218;
$custom-light: #524754;
$custom-dark: #000000;
JSON
{
  "hex": "#160218",
  "rgb": {
    "r": 22,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 294.545,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.14857,
    "c": 0.05819,
    "h": 324.6
  },
  "luminance": 0.0028
}

Semantic roles & 50–950 ramp

primary
#160218
secondary
#1E5E18
accent
#FB2D40
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020002
muted
#787778

Preview Lab

Preview with #160218

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

Preview Lab → · Contrast checker → · Palette generator →

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