#17031C#17031C

#17031C is a very dark, muted purple. Relative luminance 0.003; OKLCH L 15.7% C 0.060 H 319.7°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#17031C
RGBrgb(23, 3, 28)
HSLhsl(288, 81%, 6%)
HSVhsv(288, 89%, 11%)
CMYKcmyk(17.9%, 89.3%, 0%, 89%)
CIE-LABlab(2.99, 11.50, -10.89)
CIE-LCHlch(2.99, 15.84, 316.55°)
OKLaboklab(15.68% 0.0457 -0.0387)
OKLCHoklch(15.68% 0.06 319.7)
XYZxyz(0.5955, 0.3312, 1.1309)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17031C #081C03
analogous
#0A031C #17031C #1C0314
triadic
#17031C #1C1703 #031C17
tetradic
#17031C #1C0A03 #081C03 #03141C
square
#17031C #1C0A03 #081C03 #03141C
split-complementary
#17031C #141C03 #031C0A
monochromatic
#17031C #17031C #17031C #440953 #720F8B

Accessibility & contrast

On white

19.70
#17031C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#17031C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17031C
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17031C#FFFFFF#000000##FFFFFF
##17031C1.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091D
Deuteranopia (green-blind)
#040C1B
Tritanopia (blue-blind)
#17060D
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #17031c;
/* rgb */ color: rgb(23, 3, 28);
/* oklch */ color: oklch(15.7% 0.060 319.7);
Tailwind
colors: {
  custom: {
    50: '#534858',
    500: '#17031c',
    950: '#000000',
  },
}
SCSS
$custom: #17031c;
$custom-light: #534858;
$custom-dark: #000000;
JSON
{
  "hex": "#17031c",
  "rgb": {
    "r": 23,
    "g": 3,
    "b": 28
  },
  "hsl": {
    "h": 288,
    "s": 80.645,
    "l": 6.078
  },
  "oklch": {
    "l": 0.15677,
    "c": 0.0599,
    "h": 319.7
  },
  "luminance": 0.00331
}

Semantic roles & 50–950 ramp

primary
#17031C
secondary
#29601B
accent
#F73158
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020003
muted
#787778

Preview Lab

Preview with #17031C

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

Preview Lab → · Contrast checker → · Palette generator →

#17031C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva