#170322#170322

#170322 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.2% C 0.067 H 311.8°. Best body text is #FFFFFF at 19.58:1 contrast (WCAG AA passes).

Color values

HEX#170322
RGBrgb(23, 3, 34)
HSLhsl(279, 84%, 7%)
HSVhsv(279, 91%, 13%)
CMYKcmyk(32.4%, 91.2%, 0%, 86.7%)
CIE-LABlab(3.28, 13.51, -15.21)
CIE-LCHlch(3.28, 20.34, 311.61°)
OKLaboklab(16.23% 0.0448 -0.0501)
OKLCHoklch(16.23% 0.067 311.8)
XYZxyz(0.6746, 0.3628, 1.5476)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170322 #0E2203
analogous
#080322 #170322 #22031E
triadic
#170322 #221703 #032217
tetradic
#170322 #220803 #0E2203 #031E22
square
#170322 #220803 #0E2203 #031E22
split-complementary
#170322 #1E2203 #032208
monochromatic
#13021C #13021C #170322 #3D085A #630D92

Accessibility & contrast

On white

19.58
#170322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170322
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170322#FFFFFF#000000##FFFFFF
##1703221.0019.581.0719.58
#FFFFFF19.581.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B23
Deuteranopia (green-blind)
#010C21
Tritanopia (blue-blind)
#160811
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #170322;
/* rgb */ color: rgb(23, 3, 34);
/* oklch */ color: oklch(16.2% 0.067 311.8);
Tailwind
colors: {
  custom: {
    50: '#53485d',
    500: '#170322',
    950: '#000000',
  },
}
SCSS
$custom: #170322;
$custom-light: #53485d;
$custom-dark: #000000;
JSON
{
  "hex": "#170322",
  "rgb": {
    "r": 23,
    "g": 3,
    "b": 34
  },
  "hsl": {
    "h": 278.71,
    "s": 83.784,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16227,
    "c": 0.06721,
    "h": 311.8
  },
  "luminance": 0.00363
}

Semantic roles & 50–950 ramp

primary
#170322
secondary
#35661B
accent
#FA2E76
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #170322

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

Preview Lab → · Contrast checker → · Palette generator →

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