#170122#170122

#170122 is a very dark, moderate purple. Relative luminance 0.003; OKLCH L 15.7% C 0.073 H 313.0°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#170122
RGBrgb(23, 1, 34)
HSLhsl(280, 94%, 7%)
HSVhsv(280, 97%, 13%)
CMYKcmyk(32.4%, 97.1%, 0%, 86.7%)
CIE-LABlab(2.89, 14.31, -15.81)
CIE-LCHlch(2.89, 21.32, 312.15°)
OKLaboklab(15.71% 0.05 -0.0536)
OKLCHoklch(15.71% 0.073 313)
XYZxyz(0.6529, 0.3194, 1.5403)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170122 #0C2201
analogous
#070122 #170122 #22011D
triadic
#170122 #221701 #012217
tetradic
#170122 #220701 #0C2201 #011D22
square
#170122 #220701 #0C2201 #011D22
split-complementary
#170122 #1D2201 #012207
monochromatic
#14011E #14011E #170122 #3F035D #670499

Accessibility & contrast

On white

19.74
#170122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170122
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170122#FFFFFF#000000##FFFFFF
##1701221.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000923
Deuteranopia (green-blind)
#000B21
Tritanopia (blue-blind)
#160610
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #170122;
/* rgb */ color: rgb(23, 1, 34);
/* oklch */ color: oklch(15.7% 0.073 313.0);
Tailwind
colors: {
  custom: {
    50: '#53475d',
    500: '#170122',
    950: '#000000',
  },
}
SCSS
$custom: #170122;
$custom-light: #53475d;
$custom-dark: #000000;
JSON
{
  "hex": "#170122",
  "rgb": {
    "r": 23,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 280,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.15708,
    "c": 0.07329,
    "h": 313
  },
  "luminance": 0.00319
}

Semantic roles & 50–950 ramp

primary
#170122
secondary
#316916
accent
#FF2970
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #170122

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

Preview Lab → · Contrast checker → · Palette generator →

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