#170124#170124

#170124 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.075 H 310.7°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#170124
RGBrgb(23, 1, 36)
HSLhsl(278, 95%, 7%)
HSVhsv(278, 97%, 14%)
CMYKcmyk(36.1%, 97.2%, 0%, 85.9%)
CIE-LABlab(2.99, 15.06, -17.21)
CIE-LCHlch(2.99, 22.87, 311.19°)
OKLaboklab(15.92% 0.0492 -0.0572)
OKLCHoklch(15.92% 0.075 310.7)
XYZxyz(0.6826, 0.3313, 1.6967)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170124 #0E2401
analogous
#050124 #170124 #240120
triadic
#170124 #241701 #012417
tetradic
#170124 #240501 #0E2401 #012024
square
#170124 #240501 #0E2401 #012024
split-complementary
#170124 #202401 #012405
monochromatic
#13011E #13011E #170124 #3D0360 #63049B

Accessibility & contrast

On white

19.70
#170124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#170124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170124
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170124#FFFFFF#000000##FFFFFF
##1701241.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A25
Deuteranopia (green-blind)
#000B23
Tritanopia (blue-blind)
#150711
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #170124;
/* rgb */ color: rgb(23, 1, 36);
/* oklch */ color: oklch(15.9% 0.075 310.7);
Tailwind
colors: {
  custom: {
    50: '#53475e',
    500: '#170124',
    950: '#000000',
  },
}
SCSS
$custom: #170124;
$custom-light: #53475e;
$custom-dark: #000000;
JSON
{
  "hex": "#170124",
  "rgb": {
    "r": 23,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 277.714,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.15918,
    "c": 0.07548,
    "h": 310.7
  },
  "luminance": 0.00331
}

Semantic roles & 50–950 ramp

primary
#170124
secondary
#356B16
accent
#FF2978
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #170124

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

Preview Lab → · Contrast checker → · Palette generator →

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