#17031A#17031A

#17031A is a very dark, muted purple. Relative luminance 0.003; OKLCH L 15.5% C 0.058 H 322.8°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#17031A
RGBrgb(23, 3, 26)
HSLhsl(292, 79%, 6%)
HSVhsv(292, 88%, 10%)
CMYKcmyk(11.5%, 88.5%, 0%, 89.8%)
CIE-LABlab(2.91, 10.91, -9.41)
CIE-LCHlch(2.91, 14.41, 319.22°)
OKLaboklab(15.51% 0.0458 -0.0348)
OKLCHoklch(15.51% 0.058 322.8)
XYZxyz(0.5723, 0.3219, 1.0091)
Luminance0.0032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17031A #061A03
analogous
#0B031A #17031A #1A0311
triadic
#17031A #1A1703 #031A17
tetradic
#17031A #1A0B03 #061A03 #03111A
square
#17031A #1A0B03 #061A03 #03111A
split-complementary
#17031A #111A03 #031A0B
monochromatic
#18031B #18031B #18031B #480951 #781088

Accessibility & contrast

On white

19.73
#17031A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#17031A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17031A
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17031A#FFFFFF#000000##FFFFFF
##17031A1.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091B
Deuteranopia (green-blind)
#050B19
Tritanopia (blue-blind)
#17060C
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #17031a;
/* rgb */ color: rgb(23, 3, 26);
/* oklch */ color: oklch(15.5% 0.058 322.8);
Tailwind
colors: {
  custom: {
    50: '#534856',
    500: '#17031a',
    950: '#000000',
  },
}
SCSS
$custom: #17031a;
$custom-light: #534856;
$custom-dark: #000000;
JSON
{
  "hex": "#17031a",
  "rgb": {
    "r": 23,
    "g": 3,
    "b": 26
  },
  "hsl": {
    "h": 292.174,
    "s": 79.31,
    "l": 5.686
  },
  "oklch": {
    "l": 0.15509,
    "c": 0.05751,
    "h": 322.8
  },
  "luminance": 0.00322
}

Semantic roles & 50–950 ramp

primary
#17031A
secondary
#245E1B
accent
#F6324C
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020003
muted
#787778

Preview Lab

Preview with #17031A

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

Preview Lab → · Contrast checker → · Palette generator →

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