#17043B#17043B

#17043B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.097 H 290.5°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#17043B
RGBrgb(23, 4, 59)
HSLhsl(261, 87%, 12%)
HSVhsv(261, 93%, 23%)
CMYKcmyk(61%, 93.2%, 0%, 76.9%)
CIE-LABlab(5.28, 24.24, -30.82)
CIE-LCHlch(5.28, 39.21, 308.19°)
OKLaboklab(19.21% 0.0338 -0.0905)
OKLCHoklch(19.21% 0.097 290.5)
XYZxyz(1.1860, 0.5847, 4.1872)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17043B #283B04
analogous
#040D3B #17043B #33043B
triadic
#17043B #3B1704 #043B17
tetradic
#17043B #3B040D #283B04 #043B33
square
#17043B #3B040D #283B04 #043B33
split-complementary
#17043B #3B3304 #0D3B04
monochromatic
#0B021D #0B021D #17043B #2D0874 #440CAE

Accessibility & contrast

On white

18.80
#17043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#17043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17043B
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17043B#FFFFFF#000000##FFFFFF
##17043B1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123C
Deuteranopia (green-blind)
#00103A
Tritanopia (blue-blind)
#091420
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #17043b;
/* rgb */ color: rgb(23, 4, 59);
/* oklch */ color: oklch(19.2% 0.097 290.5);
Tailwind
colors: {
  custom: {
    50: '#594772',
    500: '#17043b',
    950: '#000000',
  },
}
SCSS
$custom: #17043b;
$custom-light: #594772;
$custom-dark: #000000;
JSON
{
  "hex": "#17043b",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 260.727,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19212,
    "c": 0.09662,
    "h": 290.5
  },
  "luminance": 0.00585
}

Semantic roles & 50–950 ramp

primary
#17043B
secondary
#5C7D1E
accent
#FD2AB5
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040008
muted
#79777B

Preview Lab

Preview with #17043B

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

Preview Lab → · Contrast checker → · Palette generator →

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