#170724#170724

#170724 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.3% C 0.060 H 306.8°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#170724
RGBrgb(23, 7, 36)
HSLhsl(273, 67%, 8%)
HSVhsv(273, 81%, 14%)
CMYKcmyk(36.1%, 80.6%, 0%, 85.9%)
CIE-LABlab(4.17, 12.66, -15.39)
CIE-LCHlch(4.17, 19.93, 309.44°)
OKLaboklab(17.35% 0.0357 -0.0477)
OKLCHoklch(17.35% 0.06 306.8)
XYZxyz(0.7477, 0.4615, 1.7184)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170724 #142407
analogous
#080724 #170724 #240722
triadic
#170724 #241707 #072417
tetradic
#170724 #240807 #142407 #072224
square
#170724 #240807 #142407 #072224
split-complementary
#170724 #222407 #072408
monochromatic
#10051A #10051A #170724 #381157 #581B8A

Accessibility & contrast

On white

19.23
#170724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#170724 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170724
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170724#FFFFFF#000000##FFFFFF
##1707241.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E25
Deuteranopia (green-blind)
#030F23
Tritanopia (blue-blind)
#150D14
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #170724;
/* rgb */ color: rgb(23, 7, 36);
/* oklch */ color: oklch(17.3% 0.060 306.8);
Tailwind
colors: {
  custom: {
    50: '#54495e',
    500: '#170724',
    950: '#000000',
  },
}
SCSS
$custom: #170724;
$custom-light: #54495e;
$custom-dark: #000000;
JSON
{
  "hex": "#170724",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 36
  },
  "hsl": {
    "h": 273.103,
    "s": 67.442,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17349,
    "c": 0.05959,
    "h": 306.8
  },
  "luminance": 0.00461
}

Semantic roles & 50–950 ramp

primary
#170724
secondary
#406324
accent
#EA3D8B
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #170724

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

Preview Lab → · Contrast checker → · Palette generator →

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