#17072A#17072A

#17072A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.068 H 300.9°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#17072A
RGBrgb(23, 7, 42)
HSLhsl(267, 71%, 10%)
HSVhsv(267, 83%, 16%)
CMYKcmyk(45.2%, 83.3%, 0%, 83.5%)
CIE-LABlab(4.53, 15.18, -19.43)
CIE-LCHlch(4.53, 24.65, 308.01°)
OKLaboklab(17.91% 0.035 -0.0586)
OKLCHoklch(17.91% 0.068 300.9)
XYZxyz(0.8471, 0.5013, 2.2422)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17072A #1A2A07
analogous
#07082A #17072A #29072A
triadic
#17072A #2A1707 #072A17
tetradic
#17072A #2A0708 #1A2A07 #072A29
square
#17072A #2A0708 #1A2A07 #072A29
split-complementary
#17072A #2A2907 #082A07
monochromatic
#0E041A #0E041A #17072A #34105E #501893

Accessibility & contrast

On white

19.09
#17072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17072A
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17072A#FFFFFF#000000##FFFFFF
##17072A1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#130F17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #17072a;
/* rgb */ color: rgb(23, 7, 42);
/* oklch */ color: oklch(17.9% 0.068 300.9);
Tailwind
colors: {
  custom: {
    50: '#554964',
    500: '#17072a',
    950: '#000000',
  },
}
SCSS
$custom: #17072a;
$custom-light: #554964;
$custom-dark: #000000;
JSON
{
  "hex": "#17072a",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 267.429,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17909,
    "c": 0.06829,
    "h": 300.9
  },
  "luminance": 0.00501
}

Semantic roles & 50–950 ramp

primary
#17072A
secondary
#496A23
accent
#EE3A9C
background
#F5F4F5
surface
#E8E7EA
border
#C4C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #17072A

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

Preview Lab → · Contrast checker → · Palette generator →

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