#17073F#17073F

#17073F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.098 H 287.3°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#17073F
RGBrgb(23, 7, 63)
HSLhsl(257, 80%, 14%)
HSVhsv(257, 89%, 25%)
CMYKcmyk(63.5%, 88.9%, 0%, 75.3%)
CIE-LABlab(6.26, 24.43, -32.10)
CIE-LCHlch(6.26, 40.34, 307.27°)
OKLaboklab(20.2% 0.0289 -0.0931)
OKLCHoklch(20.2% 0.098 287.3)
XYZxyz(1.3263, 0.6929, 4.7655)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17073F #2F3F07
analogous
#07133F #17073F #33073F
triadic
#17073F #3F1707 #073F17
tetradic
#17073F #3F0713 #2F3F07 #073F33
square
#17073F #3F0713 #2F3F07 #073F33
split-complementary
#17073F #3F3307 #133F07
monochromatic
#0A031C #0A031C #17073F #2B0D76 #3F13AD

Accessibility & contrast

On white

18.44
#17073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#17073F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17073F
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17073F#FFFFFF#000000##FFFFFF
##17073F1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#061723
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #17073f;
/* rgb */ color: rgb(23, 7, 63);
/* oklch */ color: oklch(20.2% 0.098 287.3);
Tailwind
colors: {
  custom: {
    50: '#5a4975',
    500: '#17073f',
    950: '#000000',
  },
}
SCSS
$custom: #17073f;
$custom-light: #5a4975;
$custom-dark: #000000;
JSON
{
  "hex": "#17073f",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 257.143,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20199,
    "c": 0.09752,
    "h": 287.3
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#17073F
secondary
#647E24
accent
#F631BE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #17073F

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

Preview Lab → · Contrast checker → · Palette generator →

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