#17032A#17032A

#17032A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.077 H 303.4°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#17032A
RGBrgb(23, 3, 42)
HSLhsl(271, 87%, 9%)
HSVhsv(271, 93%, 16%)
CMYKcmyk(45.2%, 92.9%, 0%, 83.5%)
CIE-LABlab(3.74, 16.78, -20.66)
CIE-LCHlch(3.74, 26.62, 309.09°)
OKLaboklab(17.05% 0.0424 -0.0644)
OKLCHoklch(17.05% 0.077 303.4)
XYZxyz(0.8037, 0.4145, 2.2277)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17032A #162A03
analogous
#03032A #17032A #2A032A
triadic
#17032A #2A1703 #032A17
tetradic
#17032A #2A0303 #162A03 #032A2A
square
#17032A #2A0303 #162A03 #032A2A
split-complementary
#17032A #2A2A03 #032A03
monochromatic
#10021D #10021D #17032A #360763 #560B9C

Accessibility & contrast

On white

19.39
#17032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#17032A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17032A
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17032A#FFFFFF#000000##FFFFFF
##17032A1.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000D29
Tritanopia (blue-blind)
#130C15
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #17032a;
/* rgb */ color: rgb(23, 3, 42);
/* oklch */ color: oklch(17.0% 0.077 303.4);
Tailwind
colors: {
  custom: {
    50: '#544764',
    500: '#17032a',
    950: '#000000',
  },
}
SCSS
$custom: #17032a;
$custom-light: #544764;
$custom-dark: #000000;
JSON
{
  "hex": "#17032a",
  "rgb": {
    "r": 23,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 270.769,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17047,
    "c": 0.07712,
    "h": 303.4
  },
  "luminance": 0.00414
}

Semantic roles & 50–950 ramp

primary
#17032A
secondary
#436E1B
accent
#FD2B91
background
#F5F4F5
surface
#E8E6EA
border
#C4C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #17032A

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

Preview Lab → · Contrast checker → · Palette generator →

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