#170128#170128

#170128 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.080 H 306.5°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#170128
RGBrgb(23, 1, 40)
HSLhsl(274, 95%, 8%)
HSVhsv(274, 98%, 16%)
CMYKcmyk(42.5%, 97.5%, 0%, 84.3%)
CIE-LABlab(3.23, 16.70, -19.94)
CIE-LCHlch(3.23, 26.01, 309.94°)
OKLaboklab(16.35% 0.0475 -0.0642)
OKLCHoklch(16.35% 0.08 306.5)
XYZxyz(0.7471, 0.3571, 2.0366)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170128 #122801
analogous
#030128 #170128 #280125
triadic
#170128 #281701 #012817
tetradic
#170128 #280301 #122801 #012528
square
#170128 #280301 #122801 #012528
split-complementary
#170128 #252801 #012803
monochromatic
#11011E #11011E #170128 #390264 #5C049F

Accessibility & contrast

On white

19.60
#170128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170128
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170128#FFFFFF#000000##FFFFFF
##1701281.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B29
Deuteranopia (green-blind)
#000C27
Tritanopia (blue-blind)
#140913
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #170128;
/* rgb */ color: rgb(23, 1, 40);
/* oklch */ color: oklch(16.4% 0.080 306.5);
Tailwind
colors: {
  custom: {
    50: '#544662',
    500: '#170128',
    950: '#000000',
  },
}
SCSS
$custom: #170128;
$custom-light: #544662;
$custom-dark: #000000;
JSON
{
  "hex": "#170128",
  "rgb": {
    "r": 23,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 273.846,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.16354,
    "c": 0.07988,
    "h": 306.5
  },
  "luminance": 0.00357
}

Semantic roles & 50–950 ramp

primary
#170128
secondary
#3D6F16
accent
#FF2986
background
#F4F3F5
surface
#E8E5EA
border
#C4C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #170128

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

Preview Lab → · Contrast checker → · Palette generator →

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