#17001F#17001F

#17001F is a very dark, moderate purple. Relative luminance 0.003; OKLCH L 15.1% C 0.074 H 317.2°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#17001F
RGBrgb(23, 0, 31)
HSLhsl(285, 100%, 6%)
HSVhsv(285, 100%, 12%)
CMYKcmyk(25.8%, 100%, 0%, 87.8%)
CIE-LABlab(2.54, 13.66, -13.97)
CIE-LCHlch(2.54, 19.53, 314.36°)
OKLaboklab(15.12% 0.054 -0.05)
OKLCHoklch(15.12% 0.074 317.2)
XYZxyz(0.6006, 0.2811, 1.3187)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17001F #081F00
analogous
#07001F #17001F #1F0017
triadic
#17001F #1F1700 #001F17
tetradic
#17001F #1F0700 #081F00 #00171F
square
#17001F #1F0700 #081F00 #00171F
split-complementary
#17001F #171F00 #001F07
monochromatic
#17001F #17001F #17001F #44005C #720099

Accessibility & contrast

On white

19.88
#17001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#17001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17001F
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17001F#FFFFFF#000000##FFFFFF
##17001F1.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000820
Deuteranopia (green-blind)
#000A1E
Tritanopia (blue-blind)
#17040D
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #17001f;
/* rgb */ color: rgb(23, 0, 31);
/* oklch */ color: oklch(15.1% 0.074 317.2);
Tailwind
colors: {
  custom: {
    50: '#53465a',
    500: '#17001f',
    950: '#000000',
  },
}
SCSS
$custom: #17001f;
$custom-light: #53465a;
$custom-dark: #000000;
JSON
{
  "hex": "#17001f",
  "rgb": {
    "r": 23,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 284.516,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.1512,
    "c": 0.07362,
    "h": 317.2
  },
  "luminance": 0.00281
}

Semantic roles & 50–950 ramp

primary
#17001F
secondary
#296812
accent
#FF2960
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #17001F

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

Preview Lab → · Contrast checker → · Palette generator →

#17001F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva