#17112F#17112F

#17112F is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.4% C 0.058 H 289.5°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#17112F
RGBrgb(23, 17, 47)
HSLhsl(252, 47%, 13%)
HSVhsv(252, 64%, 18%)
CMYKcmyk(51.1%, 63.8%, 0%, 81.6%)
CIE-LABlab(7.12, 12.29, -19.06)
CIE-LCHlch(7.12, 22.68, 302.80°)
OKLaboklab(20.41% 0.0192 -0.0543)
OKLCHoklch(20.41% 0.058 289.5)
XYZxyz(1.0667, 0.7883, 2.7847)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17112F #292F11
analogous
#111A2F #17112F #26112F
triadic
#17112F #2F1711 #112F17
tetradic
#17112F #2F111A #292F11 #112F26
square
#17112F #2F111A #292F11 #112F26
split-complementary
#17112F #2F2611 #1A2F11
monochromatic
#0B0816 #0B0816 #17112F #2D215C #433289

Accessibility & contrast

On white

18.14
#17112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17112F
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17112F#FFFFFF#000000##FFFFFF
##17112F1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051630
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#10171D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #17112f;
/* rgb */ color: rgb(23, 17, 47);
/* oklch */ color: oklch(20.4% 0.058 289.5);
Tailwind
colors: {
  custom: {
    50: '#564f68',
    500: '#17112f',
    950: '#000000',
  },
}
SCSS
$custom: #17112f;
$custom-light: #564f68;
$custom-dark: #000000;
JSON
{
  "hex": "#17112f",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 252,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20411,
    "c": 0.05762,
    "h": 289.5
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#17112F
secondary
#5D6734
accent
#D751BC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #17112F

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

Preview Lab → · Contrast checker → · Palette generator →

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