#170A24#170A24

#170A24 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 18.0% C 0.053 H 304.7°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#170A24
RGBrgb(23, 10, 36)
HSLhsl(270, 57%, 9%)
HSVhsv(270, 72%, 14%)
CMYKcmyk(36.1%, 72.2%, 0%, 85.9%)
CIE-LABlab(4.76, 11.46, -14.49)
CIE-LCHlch(4.76, 18.47, 308.35°)
OKLaboklab(17.98% 0.0302 -0.0436)
OKLCHoklch(17.98% 0.053 304.7)
XYZxyz(0.7803, 0.5266, 1.7293)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170A24 #17240A
analogous
#0A0A24 #170A24 #240A24
triadic
#170A24 #24170A #0A2417
tetradic
#170A24 #240A0A #17240A #0A2424
square
#170A24 #240A0A #17240A #0A2424
split-complementary
#170A24 #24240A #0A240A
monochromatic
#0F0718 #0F0718 #170A24 #361754 #542584

Accessibility & contrast

On white

19.00
#170A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#170A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170A24
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170A24#FFFFFF#000000##FFFFFF
##170A241.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031025
Deuteranopia (green-blind)
#061023
Tritanopia (blue-blind)
#150F15
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #170a24;
/* rgb */ color: rgb(23, 10, 36);
/* oklch */ color: oklch(18.0% 0.053 304.7);
Tailwind
colors: {
  custom: {
    50: '#544b5e',
    500: '#170a24',
    950: '#000000',
  },
}
SCSS
$custom: #170a24;
$custom-light: #544b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#170a24",
  "rgb": {
    "r": 23,
    "g": 10,
    "b": 36
  },
  "hsl": {
    "h": 270,
    "s": 56.522,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17983,
    "c": 0.05307,
    "h": 304.7
  },
  "luminance": 0.00527
}

Semantic roles & 50–950 ramp

primary
#170A24
secondary
#45602A
accent
#E04894
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #170A24

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

Preview Lab → · Contrast checker → · Palette generator →

#170A24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva