#170126#170126

#170126 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.1% C 0.078 H 308.6°. Best body text is #FFFFFF at 19.65:1 contrast (WCAG AA passes).

Color values

HEX#170126
RGBrgb(23, 1, 38)
HSLhsl(276, 95%, 8%)
HSVhsv(276, 97%, 15%)
CMYKcmyk(39.5%, 97.4%, 0%, 85.1%)
CIE-LABlab(3.11, 15.86, -18.59)
CIE-LCHlch(3.11, 24.44, 310.48°)
OKLaboklab(16.13% 0.0484 -0.0607)
OKLCHoklch(16.13% 0.078 308.6)
XYZxyz(0.7140, 0.3438, 1.8621)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170126 #102601
analogous
#050126 #170126 #260122
triadic
#170126 #261701 #012617
tetradic
#170126 #260501 #102601 #012226
square
#170126 #260501 #102601 #012226
split-complementary
#170126 #222601 #012605
monochromatic
#12011E #12011E #170126 #3B0362 #5F049D

Accessibility & contrast

On white

19.65
#170126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170126
19.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170126#FFFFFF#000000##FFFFFF
##1701261.0019.651.0719.65
#FFFFFF19.651.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A27
Deuteranopia (green-blind)
#000C25
Tritanopia (blue-blind)
#150812
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #170126;
/* rgb */ color: rgb(23, 1, 38);
/* oklch */ color: oklch(16.1% 0.078 308.6);
Tailwind
colors: {
  custom: {
    50: '#544760',
    500: '#170126',
    950: '#000000',
  },
}
SCSS
$custom: #170126;
$custom-light: #544760;
$custom-dark: #000000;
JSON
{
  "hex": "#170126",
  "rgb": {
    "r": 23,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 275.676,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16133,
    "c": 0.07767,
    "h": 308.6
  },
  "luminance": 0.00344
}

Semantic roles & 50–950 ramp

primary
#170126
secondary
#396D16
accent
#FF2980
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #170126

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

Preview Lab → · Contrast checker → · Palette generator →

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