#17032B#17032B

#17032B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.078 H 302.4°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#17032B
RGBrgb(23, 3, 43)
HSLhsl(270, 87%, 9%)
HSVhsv(270, 93%, 17%)
CMYKcmyk(46.5%, 93%, 0%, 83.1%)
CIE-LABlab(3.81, 17.25, -21.32)
CIE-LCHlch(3.81, 27.42, 308.98°)
OKLaboklab(17.16% 0.042 -0.0661)
OKLCHoklch(17.16% 0.078 302.4)
XYZxyz(0.8219, 0.4217, 2.3231)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17032B #172B03
analogous
#03032B #17032B #2B032B
triadic
#17032B #2B1703 #032B17
tetradic
#17032B #2B0303 #172B03 #032B2B
square
#17032B #2B0303 #172B03 #032B2B
split-complementary
#17032B #2B2B03 #032B03
monochromatic
#0F021D #0F021D #17032B #360764 #540B9D

Accessibility & contrast

On white

19.37
#17032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17032B
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17032B#FFFFFF#000000##FFFFFF
##17032B1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000D2A
Tritanopia (blue-blind)
#130C16
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #17032b;
/* rgb */ color: rgb(23, 3, 43);
/* oklch */ color: oklch(17.2% 0.078 302.4);
Tailwind
colors: {
  custom: {
    50: '#554764',
    500: '#17032b',
    950: '#000000',
  },
}
SCSS
$custom: #17032b;
$custom-light: #554764;
$custom-dark: #000000;
JSON
{
  "hex": "#17032b",
  "rgb": {
    "r": 23,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 270,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17155,
    "c": 0.07836,
    "h": 302.4
  },
  "luminance": 0.00422
}

Semantic roles & 50–950 ramp

primary
#17032B
secondary
#456F1B
accent
#FD2B94
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #17032B

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

Preview Lab → · Contrast checker → · Palette generator →

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