#17151F#17151F

#17151F is a very dark, near-neutral violet. Relative luminance 0.008; OKLCH L 20.3% C 0.020 H 293.7°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#17151F
RGBrgb(23, 21, 31)
HSLhsl(252, 19%, 10%)
HSVhsv(252, 32%, 12%)
CMYKcmyk(25.8%, 32.3%, 0%, 87.8%)
CIE-LABlab(7.38, 3.75, -6.63)
CIE-LCHlch(7.38, 7.62, 299.52°)
OKLaboklab(20.29% 0.008 -0.0182)
OKLCHoklch(20.29% 0.02 293.7)
XYZxyz(0.8688, 0.8174, 1.4081)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17151F #1D1F15
analogous
#15181F #17151F #1C151F
triadic
#17151F #1F1715 #151F17
tetradic
#17151F #1F1518 #1D1F15 #151F1C
square
#17151F #1F1518 #1D1F15 #151F1C
split-complementary
#17151F #1F1C15 #181F15
monochromatic
#0E0C12 #0E0C12 #17151F #322E43 #4D4668

Accessibility & contrast

On white

18.05
#17151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17151F
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17151F#FFFFFF#000000##FFFFFF
##17151F1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13161F
Deuteranopia (green-blind)
#13161F
Tritanopia (blue-blind)
#151718
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #17151f;
/* rgb */ color: rgb(23, 21, 31);
/* oklch */ color: oklch(20.3% 0.020 293.7);
Tailwind
colors: {
  custom: {
    50: '#54525a',
    500: '#17151f',
    950: '#000000',
  },
}
SCSS
$custom: #17151f;
$custom-light: #54525a;
$custom-dark: #000000;
JSON
{
  "hex": "#17151f",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 252,
    "s": 19.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20289,
    "c": 0.01991,
    "h": 293.7
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#17151F
secondary
#4E523E
accent
#BC6CAC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020203
muted
#787878

Preview Lab

Preview with #17151F

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

Preview Lab → · Contrast checker → · Palette generator →

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