#17072E#17072E

#17072E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.074 H 297.5°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#17072E
RGBrgb(23, 7, 46)
HSLhsl(265, 74%, 10%)
HSVhsv(265, 85%, 18%)
CMYKcmyk(50%, 84.8%, 0%, 82%)
CIE-LABlab(4.80, 16.99, -22.01)
CIE-LCHlch(4.80, 27.81, 307.67°)
OKLaboklab(18.31% 0.0342 -0.0656)
OKLCHoklch(18.31% 0.074 297.5)
XYZxyz(0.9223, 0.5314, 2.6382)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17072E #1E2E07
analogous
#070B2E #17072E #2A072E
triadic
#17072E #2E1707 #072E17
tetradic
#17072E #2E070B #1E2E07 #072E2A
square
#17072E #2E070B #1E2E07 #072E2A
split-complementary
#17072E #2E2A07 #0B2E07
monochromatic
#0D041B #0D041B #17072E #320F63 #4C1798

Accessibility & contrast

On white

18.98
#17072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#17072E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17072E
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17072E#FFFFFF#000000##FFFFFF
##17072E1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17072e;
/* rgb */ color: rgb(23, 7, 46);
/* oklch */ color: oklch(18.3% 0.074 297.5);
Tailwind
colors: {
  custom: {
    50: '#564967',
    500: '#17072e',
    950: '#000000',
  },
}
SCSS
$custom: #17072e;
$custom-light: #564967;
$custom-dark: #000000;
JSON
{
  "hex": "#17072e",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 264.615,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18309,
    "c": 0.07402,
    "h": 297.5
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#17072E
secondary
#4F6E23
accent
#F038A4
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030106
muted
#78777A

Preview Lab

Preview with #17072E

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

Preview Lab → · Contrast checker → · Palette generator →

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