#170016#170016

#170016 is a very dark, moderate purple. Relative luminance 0.002; OKLCH L 14.3% C 0.065 H 329.9°. Best body text is #FFFFFF at 20.04:1 contrast (WCAG AA passes).

Color values

HEX#170016
RGBrgb(23, 0, 22)
HSLhsl(303, 100%, 5%)
HSVhsv(303, 100%, 9%)
CMYKcmyk(0%, 100%, 4.3%, 91%)
CIE-LABlab(2.17, 11.06, -7.40)
CIE-LCHlch(2.17, 13.31, 326.20°)
OKLaboklab(14.27% 0.0563 -0.0326)
OKLCHoklch(14.27% 0.065 329.9)
XYZxyz(0.4982, 0.2401, 0.7790)
Luminance0.0024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170016 #001701
analogous
#0D0017 #170016 #17000B
triadic
#170016 #161700 #001617
tetradic
#170016 #170D00 #001701 #000B17
square
#170016 #170D00 #001701 #000B17
split-complementary
#170016 #0B1700 #00170D
monochromatic
#1F001D #1F001D #1F001D #540051 #91008B

Accessibility & contrast

On white

20.04
#170016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#170016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170016
20.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170016#FFFFFF#000000##FFFFFF
##1700161.0020.041.0520.04
#FFFFFF20.041.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000617
Deuteranopia (green-blind)
#040915
Tritanopia (blue-blind)
#180208
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #170016;
/* rgb */ color: rgb(23, 0, 22);
/* oklch */ color: oklch(14.3% 0.065 329.9);
Tailwind
colors: {
  custom: {
    50: '#534652',
    500: '#170016',
    950: '#000000',
  },
}
SCSS
$custom: #170016;
$custom-light: #534652;
$custom-dark: #000000;
JSON
{
  "hex": "#170016",
  "rgb": {
    "r": 23,
    "g": 0,
    "b": 22
  },
  "hsl": {
    "h": 302.609,
    "s": 100,
    "l": 4.51
  },
  "oklch": {
    "l": 0.14272,
    "c": 0.06507,
    "h": 329.9
  },
  "luminance": 0.0024
}

Semantic roles & 50–950 ramp

primary
#170016
secondary
#116215
accent
#FF3229
background
#F4F3F4
surface
#E7E5E7
border
#C3C1C3
text
#020002
muted
#787778

Preview Lab

Preview with #170016

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

Preview Lab → · Contrast checker → · Palette generator →

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