#170832#170832

#170832 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.078 H 294.1°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#170832
RGBrgb(23, 8, 50)
HSLhsl(261, 72%, 11%)
HSVhsv(261, 84%, 20%)
CMYKcmyk(54%, 84%, 0%, 80.4%)
CIE-LABlab(5.29, 18.35, -24.20)
CIE-LCHlch(5.29, 30.37, 307.16°)
OKLaboklab(18.91% 0.0318 -0.0712)
OKLCHoklch(18.91% 0.078 294.1)
XYZxyz(1.0157, 0.5861, 3.0766)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170832 #233208
analogous
#080E32 #170832 #2C0832
triadic
#170832 #321708 #083217
tetradic
#170832 #32080E #233208 #08322C
square
#170832 #32080E #233208 #08322C
split-complementary
#170832 #322C08 #0E3208
monochromatic
#0C041A #0C041A #170832 #2F1067 #48199C

Accessibility & contrast

On white

18.80
#170832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#170832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170832
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170832#FFFFFF#000000##FFFFFF
##1708321.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#0F131C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #170832;
/* rgb */ color: rgb(23, 8, 50);
/* oklch */ color: oklch(18.9% 0.078 294.1);
Tailwind
colors: {
  custom: {
    50: '#57496a',
    500: '#170832',
    950: '#000000',
  },
}
SCSS
$custom: #170832;
$custom-light: #57496a;
$custom-dark: #000000;
JSON
{
  "hex": "#170832",
  "rgb": {
    "r": 23,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 261.429,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18914,
    "c": 0.07797,
    "h": 294.1
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#170832
secondary
#567125
accent
#EF39AE
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #170832

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

Preview Lab → · Contrast checker → · Palette generator →

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