#170015#170015

#170015 is a very dark, moderate purple. Relative luminance 0.002; OKLCH L 14.2% C 0.064 H 331.5°. Best body text is #FFFFFF at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#170015
RGBrgb(23, 0, 21)
HSLhsl(305, 100%, 5%)
HSVhsv(305, 100%, 9%)
CMYKcmyk(0%, 100%, 8.7%, 91%)
CIE-LABlab(2.13, 10.82, -6.75)
CIE-LCHlch(2.13, 12.75, 328.04°)
OKLaboklab(14.19% 0.0564 -0.0306)
OKLCHoklch(14.19% 0.064 331.5)
XYZxyz(0.4887, 0.2363, 0.7292)
Luminance0.0024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170015 #001702
analogous
#0E0017 #170015 #17000A
triadic
#170015 #151700 #001517
tetradic
#170015 #170E00 #001702 #000A17
square
#170015 #170E00 #001702 #000A17
split-complementary
#170015 #0A1700 #00170E
monochromatic
#1F001C #1F001C #1F001C #54004D #910085

Accessibility & contrast

On white

20.05
#170015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170015
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170015#FFFFFF#000000##FFFFFF
##1700151.0020.051.0520.05
#FFFFFF20.051.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000616
Deuteranopia (green-blind)
#050914
Tritanopia (blue-blind)
#180108
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #170015;
/* rgb */ color: rgb(23, 0, 21);
/* oklch */ color: oklch(14.2% 0.064 331.5);
Tailwind
colors: {
  custom: {
    50: '#534652',
    500: '#170015',
    950: '#000000',
  },
}
SCSS
$custom: #170015;
$custom-light: #534652;
$custom-dark: #000000;
JSON
{
  "hex": "#170015",
  "rgb": {
    "r": 23,
    "g": 0,
    "b": 21
  },
  "hsl": {
    "h": 305.217,
    "s": 100,
    "l": 4.51
  },
  "oklch": {
    "l": 0.14188,
    "c": 0.06417,
    "h": 331.5
  },
  "luminance": 0.00236
}

Semantic roles & 50–950 ramp

primary
#170015
secondary
#116218
accent
#FF3B29
background
#F4F3F4
surface
#E7E5E7
border
#C3C1C3
text
#020002
muted
#787778

Preview Lab

Preview with #170015

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

Preview Lab → · Contrast checker → · Palette generator →

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