#17043F#17043F

#17043F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.102 H 288.3°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#17043F
RGBrgb(23, 4, 63)
HSLhsl(259, 88%, 13%)
HSVhsv(259, 94%, 25%)
CMYKcmyk(63.5%, 93.7%, 0%, 75.3%)
CIE-LABlab(5.67, 25.97, -33.07)
CIE-LCHlch(5.67, 42.05, 308.15°)
OKLaboklab(19.71% 0.032 -0.0965)
OKLCHoklch(19.71% 0.102 288.3)
XYZxyz(1.2937, 0.6278, 4.7547)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17043F #2C3F04
analogous
#040E3F #17043F #34043F
triadic
#17043F #3F1704 #043F17
tetradic
#17043F #3F040E #2C3F04 #043F34
square
#17043F #3F040E #2C3F04 #043F34
split-complementary
#17043F #3F3404 #0E3F04
monochromatic
#0B021D #0B021D #17043F #2C0879 #410BB2

Accessibility & contrast

On white

18.66
#17043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#17043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17043F
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17043F#FFFFFF#000000##FFFFFF
##17043F1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#061622
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #17043f;
/* rgb */ color: rgb(23, 4, 63);
/* oklch */ color: oklch(19.7% 0.102 288.3);
Tailwind
colors: {
  custom: {
    50: '#5a4775',
    500: '#17043f',
    950: '#000000',
  },
}
SCSS
$custom: #17043f;
$custom-light: #5a4775;
$custom-dark: #000000;
JSON
{
  "hex": "#17043f",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 259.322,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19705,
    "c": 0.10168,
    "h": 288.3
  },
  "luminance": 0.00628
}

Semantic roles & 50–950 ramp

primary
#17043F
secondary
#61801E
accent
#FE2ABA
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #17043F

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

Preview Lab → · Contrast checker → · Palette generator →

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