#171024#171024

#171024 is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.3% C 0.040 H 298.7°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#171024
RGBrgb(23, 16, 36)
HSLhsl(261, 38%, 10%)
HSVhsv(261, 56%, 14%)
CMYKcmyk(36.1%, 55.6%, 0%, 85.9%)
CIE-LABlab(6.14, 8.62, -12.34)
CIE-LCHlch(6.14, 15.05, 304.94°)
OKLaboklab(19.32% 0.0194 -0.0353)
OKLCHoklch(19.32% 0.04 298.7)
XYZxyz(0.8570, 0.6801, 1.7548)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171024 #1D2410
analogous
#101324 #171024 #211024
triadic
#171024 #241710 #102417
tetradic
#171024 #241013 #1D2410 #102421
square
#171024 #241013 #1D2410 #102421
split-complementary
#171024 #242110 #132410
monochromatic
#0E0915 #0E0915 #171024 #32234E #4D3679

Accessibility & contrast

On white

18.49
#171024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#171024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171024
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171024#FFFFFF#000000##FFFFFF
##1710241.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1425
Deuteranopia (green-blind)
#0C1323
Tritanopia (blue-blind)
#141418
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #171024;
/* rgb */ color: rgb(23, 16, 36);
/* oklch */ color: oklch(19.3% 0.040 298.7);
Tailwind
colors: {
  custom: {
    50: '#544e5e',
    500: '#171024',
    950: '#000000',
  },
}
SCSS
$custom: #171024;
$custom-light: #544e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#171024",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 261,
    "s": 38.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19322,
    "c": 0.04028,
    "h": 298.7
  },
  "luminance": 0.0068
}

Semantic roles & 50–950 ramp

primary
#171024
secondary
#4E5B35
accent
#CE59A5
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #171024

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

Preview Lab → · Contrast checker → · Palette generator →

#171024 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva