#170C19#170C19

#170C19 is a very dark, muted purple. Relative luminance 0.005; OKLCH L 17.6% C 0.031 H 321.2°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#170C19
RGBrgb(23, 12, 25)
HSLhsl(291, 35%, 7%)
HSVhsv(291, 52%, 10%)
CMYKcmyk(8%, 52%, 0%, 90.2%)
CIE-LABlab(4.65, 6.99, -6.05)
CIE-LCHlch(4.65, 9.24, 319.10°)
OKLaboklab(17.64% 0.0242 -0.0194)
OKLCHoklch(17.64% 0.031 321.2)
XYZxyz(0.6603, 0.5153, 0.9842)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170C19 #0E190C
analogous
#110C19 #170C19 #190C15
triadic
#170C19 #19170C #0C1917
tetradic
#170C19 #19110C #0E190C #0C1519
square
#170C19 #19110C #0E190C #0C1519
split-complementary
#170C19 #15190C #0C1911
monochromatic
#130A15 #130A15 #170C19 #3D2042 #63346C

Accessibility & contrast

On white

19.04
#170C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#170C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170C19
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170C19#FFFFFF#000000##FFFFFF
##170C191.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0F19
Deuteranopia (green-blind)
#0D1019
Tritanopia (blue-blind)
#170D11
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #170c19;
/* rgb */ color: rgb(23, 12, 25);
/* oklch */ color: oklch(17.6% 0.031 321.2);
Tailwind
colors: {
  custom: {
    50: '#534c55',
    500: '#170c19',
    950: '#000000',
  },
}
SCSS
$custom: #170c19;
$custom-light: #534c55;
$custom-dark: #000000;
JSON
{
  "hex": "#170c19",
  "rgb": {
    "r": 23,
    "g": 12,
    "b": 25
  },
  "hsl": {
    "h": 290.769,
    "s": 35.135,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17635,
    "c": 0.03107,
    "h": 321.2
  },
  "luminance": 0.00515
}

Semantic roles & 50–950 ramp

primary
#170C19
secondary
#355031
accent
#CB5D6E
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020103
muted
#787778

Preview Lab

Preview with #170C19

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

Preview Lab → · Contrast checker → · Palette generator →

#170C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva