#170936#170936

#170936 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.082 H 291.1°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#170936
RGBrgb(23, 9, 54)
HSLhsl(259, 71%, 12%)
HSVhsv(259, 83%, 21%)
CMYKcmyk(57.4%, 83.3%, 0%, 78.8%)
CIE-LABlab(5.82, 19.64, -26.31)
CIE-LCHlch(5.82, 32.83, 306.74°)
OKLaboklab(19.52% 0.0296 -0.0766)
OKLCHoklch(19.52% 0.082 291.1)
XYZxyz(1.1167, 0.6438, 3.5547)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170936 #283609
analogous
#091136 #170936 #2E0936
triadic
#170936 #361709 #093617
tetradic
#170936 #360911 #283609 #09362E
square
#170936 #360911 #283609 #09362E
split-complementary
#170936 #362E09 #113609
monochromatic
#0B041A #0B041A #170936 #2D126A #441A9F

Accessibility & contrast

On white

18.60
#170936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#170936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170936
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170936#FFFFFF#000000##FFFFFF
##1709361.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#001235
Tritanopia (blue-blind)
#0D151E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #170936;
/* rgb */ color: rgb(23, 9, 54);
/* oklch */ color: oklch(19.5% 0.082 291.1);
Tailwind
colors: {
  custom: {
    50: '#584a6d',
    500: '#170936',
    950: '#000000',
  },
}
SCSS
$custom: #170936;
$custom-light: #584a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#170936",
  "rgb": {
    "r": 23,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 258.667,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19515,
    "c": 0.08214,
    "h": 291.1
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#170936
secondary
#5C7427
accent
#EE3AB6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #170936

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

Preview Lab → · Contrast checker → · Palette generator →

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