#170024#170024

#170024 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.7% C 0.079 H 311.3°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#170024
RGBrgb(23, 0, 36)
HSLhsl(278, 100%, 7%)
HSVhsv(278, 100%, 14%)
CMYKcmyk(36.1%, 100%, 0%, 85.9%)
CIE-LABlab(2.80, 15.46, -17.51)
CIE-LCHlch(2.80, 23.36, 311.44°)
OKLaboklab(15.65% 0.0519 -0.059)
OKLCHoklch(15.65% 0.079 311.3)
XYZxyz(0.6717, 0.3096, 1.6931)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170024 #0D2400
analogous
#050024 #170024 #24001F
triadic
#170024 #241700 #002417
tetradic
#170024 #240500 #0D2400 #001F24
square
#170024 #240500 #0D2400 #001F24
split-complementary
#170024 #1F2400 #002405
monochromatic
#14001F #14001F #170024 #3E0061 #65009E

Accessibility & contrast

On white

19.77
#170024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#170024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170024
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170024#FFFFFF#000000##FFFFFF
##1700241.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000925
Deuteranopia (green-blind)
#000B23
Tritanopia (blue-blind)
#150611
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #170024;
/* rgb */ color: rgb(23, 0, 36);
/* oklch */ color: oklch(15.7% 0.079 311.3);
Tailwind
colors: {
  custom: {
    50: '#53465e',
    500: '#170024',
    950: '#000000',
  },
}
SCSS
$custom: #170024;
$custom-light: #53465e;
$custom-dark: #000000;
JSON
{
  "hex": "#170024",
  "rgb": {
    "r": 23,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 278.333,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15652,
    "c": 0.07861,
    "h": 311.3
  },
  "luminance": 0.0031
}

Semantic roles & 50–950 ramp

primary
#170024
secondary
#336D13
accent
#FF2976
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #170024

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

Preview Lab → · Contrast checker → · Palette generator →

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