#17072C#17072C

#17072C is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.071 H 299.1°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#17072C
RGBrgb(23, 7, 44)
HSLhsl(266, 73%, 10%)
HSVhsv(266, 84%, 17%)
CMYKcmyk(47.7%, 84.1%, 0%, 82.7%)
CIE-LABlab(4.66, 16.09, -20.73)
CIE-LCHlch(4.66, 26.24, 307.81°)
OKLaboklab(18.11% 0.0346 -0.0622)
OKLCHoklch(18.11% 0.071 299.1)
XYZxyz(0.8838, 0.5160, 2.4354)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17072C #1C2C07
analogous
#07092C #17072C #2A072C
triadic
#17072C #2C1707 #072C17
tetradic
#17072C #2C0709 #1C2C07 #072C2A
square
#17072C #2C0709 #1C2C07 #072C2A
split-complementary
#17072C #2C2A07 #092C07
monochromatic
#0E041A #0E041A #17072C #330F61 #4E1896

Accessibility & contrast

On white

19.04
#17072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17072C
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17072C#FFFFFF#000000##FFFFFF
##17072C1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#121018
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #17072c;
/* rgb */ color: rgb(23, 7, 44);
/* oklch */ color: oklch(18.1% 0.071 299.1);
Tailwind
colors: {
  custom: {
    50: '#554965',
    500: '#17072c',
    950: '#000000',
  },
}
SCSS
$custom: #17072c;
$custom-light: #554965;
$custom-dark: #000000;
JSON
{
  "hex": "#17072c",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 265.946,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.18106,
    "c": 0.07116,
    "h": 299.1
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#17072C
secondary
#4C6C23
accent
#EF39A0
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030105
muted
#78777A

Preview Lab

Preview with #17072C

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

Preview Lab → · Contrast checker → · Palette generator →

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