#17073A#17073A

#17073A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.091 H 289.8°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#17073A
RGBrgb(23, 7, 58)
HSLhsl(259, 78%, 13%)
HSVhsv(259, 88%, 23%)
CMYKcmyk(60.3%, 87.9%, 0%, 77.3%)
CIE-LABlab(5.78, 22.32, -29.28)
CIE-LCHlch(5.78, 36.82, 307.32°)
OKLaboklab(19.62% 0.0307 -0.0854)
OKLCHoklch(19.62% 0.091 289.8)
XYZxyz(1.1928, 0.6396, 4.0628)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17073A #2A3A07
analogous
#07103A #17073A #31073A
triadic
#17073A #3A1707 #073A17
tetradic
#17073A #3A0710 #2A3A07 #073A31
square
#17073A #3A0710 #2A3A07 #073A31
split-complementary
#17073A #3A3107 #103A07
monochromatic
#0B031B #0B031B #17073A #2D0E71 #4214A7

Accessibility & contrast

On white

18.62
#17073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#17073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17073A
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17073A#FFFFFF#000000##FFFFFF
##17073A1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#0A1520
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #17073a;
/* rgb */ color: rgb(23, 7, 58);
/* oklch */ color: oklch(19.6% 0.091 289.8);
Tailwind
colors: {
  custom: {
    50: '#594971',
    500: '#17073a',
    950: '#000000',
  },
}
SCSS
$custom: #17073a;
$custom-light: #594971;
$custom-dark: #000000;
JSON
{
  "hex": "#17073a",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 258.824,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19616,
    "c": 0.09074,
    "h": 289.8
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#17073A
secondary
#5E7923
accent
#F533B8
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040107
muted
#79777A

Preview Lab

Preview with #17073A

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

Preview Lab → · Contrast checker → · Palette generator →

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