#17072B#17072B

#17072B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.070 H 300.0°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#17072B
RGBrgb(23, 7, 43)
HSLhsl(267, 72%, 10%)
HSVhsv(267, 84%, 17%)
CMYKcmyk(46.5%, 83.7%, 0%, 83.1%)
CIE-LABlab(4.59, 15.64, -20.08)
CIE-LCHlch(4.59, 25.45, 307.91°)
OKLaboklab(18.01% 0.0348 -0.0604)
OKLCHoklch(18.01% 0.07 300)
XYZxyz(0.8653, 0.5085, 2.3376)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17072B #1B2B07
analogous
#07092B #17072B #29072B
triadic
#17072B #2B1707 #072B17
tetradic
#17072B #2B0709 #1B2B07 #072B29
square
#17072B #2B0709 #1B2B07 #072B29
split-complementary
#17072B #2B2907 #092B07
monochromatic
#0E041A #0E041A #17072B #331060 #4F1894

Accessibility & contrast

On white

19.06
#17072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#17072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17072B
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17072B#FFFFFF#000000##FFFFFF
##17072B1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#120F18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #17072b;
/* rgb */ color: rgb(23, 7, 43);
/* oklch */ color: oklch(18.0% 0.070 300.0);
Tailwind
colors: {
  custom: {
    50: '#554964',
    500: '#17072b',
    950: '#000000',
  },
}
SCSS
$custom: #17072b;
$custom-light: #554964;
$custom-dark: #000000;
JSON
{
  "hex": "#17072b",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 266.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18007,
    "c": 0.06973,
    "h": 300
  },
  "luminance": 0.00509
}

Semantic roles & 50–950 ramp

primary
#17072B
secondary
#4B6B23
accent
#EF399E
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030105
muted
#78777A

Preview Lab

Preview with #17072B

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

Preview Lab → · Contrast checker → · Palette generator →

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