#17043A#17043A

#17043A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.095 H 291.0°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#17043A
RGBrgb(23, 4, 58)
HSLhsl(261, 87%, 12%)
HSVhsv(261, 93%, 23%)
CMYKcmyk(60.3%, 93.1%, 0%, 77.3%)
CIE-LABlab(5.19, 23.80, -30.24)
CIE-LCHlch(5.19, 38.48, 308.20°)
OKLaboklab(19.09% 0.0342 -0.089)
OKLCHoklch(19.09% 0.095 291)
XYZxyz(1.1603, 0.5744, 4.0519)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17043A #273A04
analogous
#040C3A #17043A #32043A
triadic
#17043A #3A1704 #043A17
tetradic
#17043A #3A040C #273A04 #043A32
square
#17043A #3A040C #273A04 #043A32
split-complementary
#17043A #3A3204 #0C3A04
monochromatic
#0B021D #0B021D #17043A #2E0873 #440CAD

Accessibility & contrast

On white

18.84
#17043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#17043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17043A
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17043A#FFFFFF#000000##FFFFFF
##17043A1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123B
Deuteranopia (green-blind)
#001039
Tritanopia (blue-blind)
#0A131F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #17043a;
/* rgb */ color: rgb(23, 4, 58);
/* oklch */ color: oklch(19.1% 0.095 291.0);
Tailwind
colors: {
  custom: {
    50: '#594771',
    500: '#17043a',
    950: '#000000',
  },
}
SCSS
$custom: #17043a;
$custom-light: #594771;
$custom-dark: #000000;
JSON
{
  "hex": "#17043a",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 261.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19091,
    "c": 0.09535,
    "h": 291
  },
  "luminance": 0.00574
}

Semantic roles & 50–950 ramp

primary
#17043A
secondary
#5B7C1E
accent
#FD2BB3
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #17043A

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

Preview Lab → · Contrast checker → · Palette generator →

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