#17112E#17112E

#17112E is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.3% C 0.056 H 290.0°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#17112E
RGBrgb(23, 17, 46)
HSLhsl(252, 46%, 12%)
HSVhsv(252, 63%, 18%)
CMYKcmyk(50%, 63%, 0%, 82%)
CIE-LABlab(7.05, 11.90, -18.44)
CIE-LCHlch(7.05, 21.94, 302.84°)
OKLaboklab(20.33% 0.0192 -0.0525)
OKLCHoklch(20.33% 0.056 290)
XYZxyz(1.0468, 0.7803, 2.6797)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17112E #282E11
analogous
#11192E #17112E #26112E
triadic
#17112E #2E1711 #112E17
tetradic
#17112E #2E1119 #282E11 #112E26
square
#17112E #2E1119 #282E11 #112E26
split-complementary
#17112E #2E2611 #192E11
monochromatic
#0B0816 #0B0816 #17112E #2D225B #443287

Accessibility & contrast

On white

18.17
#17112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#17112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17112E
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17112E#FFFFFF#000000##FFFFFF
##17112E1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162F
Deuteranopia (green-blind)
#06152D
Tritanopia (blue-blind)
#11171D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #17112e;
/* rgb */ color: rgb(23, 17, 46);
/* oklch */ color: oklch(20.3% 0.056 290.0);
Tailwind
colors: {
  custom: {
    50: '#564f67',
    500: '#17112e',
    950: '#000000',
  },
}
SCSS
$custom: #17112e;
$custom-light: #564f67;
$custom-dark: #000000;
JSON
{
  "hex": "#17112e",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 252.414,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20327,
    "c": 0.05589,
    "h": 290
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#17112E
secondary
#5C6634
accent
#D652BA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #17112E

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

Preview Lab → · Contrast checker → · Palette generator →

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