#170123#170123

#170123 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.074 H 311.8°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#170123
RGBrgb(23, 1, 35)
HSLhsl(279, 94%, 7%)
HSVhsv(279, 97%, 14%)
CMYKcmyk(34.3%, 97.1%, 0%, 86.3%)
CIE-LABlab(2.94, 14.68, -16.51)
CIE-LCHlch(2.94, 22.10, 311.64°)
OKLaboklab(15.81% 0.0496 -0.0554)
OKLCHoklch(15.81% 0.074 311.8)
XYZxyz(0.6675, 0.3252, 1.6174)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170123 #0D2301
analogous
#060123 #170123 #23011E
triadic
#170123 #231701 #012317
tetradic
#170123 #230601 #0D2301 #011E23
square
#170123 #230601 #0D2301 #011E23
split-complementary
#170123 #1E2301 #012306
monochromatic
#14011E #14011E #170123 #3E035F #65049A

Accessibility & contrast

On white

19.72
#170123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170123
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170123#FFFFFF#000000##FFFFFF
##1701231.0019.721.0719.72
#FFFFFF19.721.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A24
Deuteranopia (green-blind)
#000B22
Tritanopia (blue-blind)
#150710
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #170123;
/* rgb */ color: rgb(23, 1, 35);
/* oklch */ color: oklch(15.8% 0.074 311.8);
Tailwind
colors: {
  custom: {
    50: '#53475e',
    500: '#170123',
    950: '#000000',
  },
}
SCSS
$custom: #170123;
$custom-light: #53475e;
$custom-dark: #000000;
JSON
{
  "hex": "#170123",
  "rgb": {
    "r": 23,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 278.824,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15812,
    "c": 0.07439,
    "h": 311.8
  },
  "luminance": 0.00325
}

Semantic roles & 50–950 ramp

primary
#170123
secondary
#336A16
accent
#FF2974
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #170123

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

Preview Lab → · Contrast checker → · Palette generator →

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