#170328#170328

#170328 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.075 H 305.3°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#170328
RGBrgb(23, 3, 40)
HSLhsl(272, 86%, 8%)
HSVhsv(272, 93%, 16%)
CMYKcmyk(42.5%, 92.5%, 0%, 84.3%)
CIE-LABlab(3.62, 15.90, -19.33)
CIE-LCHlch(3.62, 25.03, 309.44°)
OKLaboklab(16.83% 0.0431 -0.0609)
OKLCHoklch(16.83% 0.075 305.3)
XYZxyz(0.7688, 0.4005, 2.0439)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170328 #142803
analogous
#040328 #170328 #280326
triadic
#170328 #281703 #032817
tetradic
#170328 #280403 #142803 #032628
square
#170328 #280403 #142803 #032628
split-complementary
#170328 #262803 #032804
monochromatic
#10021C #10021C #170328 #380761 #580C9A

Accessibility & contrast

On white

19.44
#170328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#170328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170328
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170328#FFFFFF#000000##FFFFFF
##1703281.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C29
Deuteranopia (green-blind)
#000D27
Tritanopia (blue-blind)
#140B14
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #170328;
/* rgb */ color: rgb(23, 3, 40);
/* oklch */ color: oklch(16.8% 0.075 305.3);
Tailwind
colors: {
  custom: {
    50: '#544762',
    500: '#170328',
    950: '#000000',
  },
}
SCSS
$custom: #170328;
$custom-light: #544762;
$custom-dark: #000000;
JSON
{
  "hex": "#170328",
  "rgb": {
    "r": 23,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 272.432,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16833,
    "c": 0.07464,
    "h": 305.3
  },
  "luminance": 0.004
}

Semantic roles & 50–950 ramp

primary
#170328
secondary
#406C1B
accent
#FC2C8B
background
#F4F4F5
surface
#E8E6EA
border
#C4C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #170328

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

Preview Lab → · Contrast checker → · Palette generator →

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