#17151E#17151E

#17151E is a very dark, near-neutral violet. Relative luminance 0.008; OKLCH L 20.2% C 0.018 H 294.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#17151E
RGBrgb(23, 21, 30)
HSLhsl(253, 18%, 10%)
HSVhsv(253, 30%, 12%)
CMYKcmyk(23.3%, 30%, 0%, 88.2%)
CIE-LABlab(7.34, 3.43, -5.94)
CIE-LCHlch(7.34, 6.86, 300.02°)
OKLaboklab(20.24% 0.0076 -0.0163)
OKLCHoklch(20.24% 0.018 294.9)
XYZxyz(0.8558, 0.8122, 1.3397)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17151E #1C1E15
analogous
#15181E #17151E #1B151E
triadic
#17151E #1E1715 #151E17
tetradic
#17151E #1E1518 #1C1E15 #151E1B
square
#17151E #1E1518 #1C1E15 #151E1B
split-complementary
#17151E #1E1B15 #181E15
monochromatic
#0E0D12 #0E0D12 #17151E #332E42 #4E4766

Accessibility & contrast

On white

18.07
#17151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17151E
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17151E#FFFFFF#000000##FFFFFF
##17151E1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17151e;
/* rgb */ color: rgb(23, 21, 30);
/* oklch */ color: oklch(20.2% 0.018 294.9);
Tailwind
colors: {
  custom: {
    50: '#535259',
    500: '#17151e',
    950: '#000000',
  },
}
SCSS
$custom: #17151e;
$custom-light: #535259;
$custom-dark: #000000;
JSON
{
  "hex": "#17151e",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 253.333,
    "s": 17.647,
    "l": 10
  },
  "oklch": {
    "l": 0.20235,
    "c": 0.01798,
    "h": 294.9
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#17151E
secondary
#4C503F
accent
#BA6DA9
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020203
muted
#787878

Preview Lab

Preview with #17151E

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

Preview Lab → · Contrast checker → · Palette generator →

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