#17112D#17112D

#17112D is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.2% C 0.054 H 290.6°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#17112D
RGBrgb(23, 17, 45)
HSLhsl(253, 45%, 12%)
HSVhsv(253, 62%, 18%)
CMYKcmyk(48.9%, 62.2%, 0%, 82.4%)
CIE-LABlab(6.98, 11.51, -17.81)
CIE-LCHlch(6.98, 21.20, 302.87°)
OKLaboklab(20.24% 0.0191 -0.0507)
OKLCHoklch(20.24% 0.054 290.6)
XYZxyz(1.0273, 0.7725, 2.5771)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17112D #272D11
analogous
#11192D #17112D #25112D
triadic
#17112D #2D1711 #112D17
tetradic
#17112D #2D1119 #272D11 #112D25
square
#17112D #2D1119 #272D11 #112D25
split-complementary
#17112D #2D2511 #192D11
monochromatic
#0B0816 #0B0816 #17112D #2E2259 #443386

Accessibility & contrast

On white

18.19
#17112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#17112D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17112D
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17112D#FFFFFF#000000##FFFFFF
##17112D1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#07152C
Tritanopia (blue-blind)
#11171C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #17112d;
/* rgb */ color: rgb(23, 17, 45);
/* oklch */ color: oklch(20.2% 0.054 290.6);
Tailwind
colors: {
  custom: {
    50: '#554f66',
    500: '#17112d',
    950: '#000000',
  },
}
SCSS
$custom: #17112d;
$custom-light: #554f66;
$custom-dark: #000000;
JSON
{
  "hex": "#17112d",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 252.857,
    "s": 45.161,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20245,
    "c": 0.05415,
    "h": 290.6
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#17112D
secondary
#5B6535
accent
#D553B9
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #17112D

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

Preview Lab → · Contrast checker → · Palette generator →

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