#170A32#170A32

#170A32 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.075 H 293.0°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#170A32
RGBrgb(23, 10, 50)
HSLhsl(260, 67%, 12%)
HSVhsv(260, 80%, 20%)
CMYKcmyk(54%, 80%, 0%, 80.4%)
CIE-LABlab(5.69, 17.44, -23.57)
CIE-LCHlch(5.69, 29.32, 306.49°)
OKLaboklab(19.27% 0.0292 -0.0688)
OKLCHoklch(19.27% 0.075 293)
XYZxyz(1.0375, 0.6295, 3.0838)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170A32 #25320A
analogous
#0A1132 #170A32 #2B0A32
triadic
#170A32 #32170A #0A3217
tetradic
#170A32 #320A11 #25320A #0A322B
square
#170A32 #320A11 #25320A #0A322B
split-complementary
#170A32 #322B0A #11320A
monochromatic
#0C051A #0C051A #170A32 #2E1465 #461E98

Accessibility & contrast

On white

18.65
#170A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#170A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170A32
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170A32#FFFFFF#000000##FFFFFF
##170A321.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#0F141C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #170a32;
/* rgb */ color: rgb(23, 10, 50);
/* oklch */ color: oklch(19.3% 0.075 293.0);
Tailwind
colors: {
  custom: {
    50: '#574a6a',
    500: '#170a32',
    950: '#000000',
  },
}
SCSS
$custom: #170a32;
$custom-light: #574a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#170a32",
  "rgb": {
    "r": 23,
    "g": 10,
    "b": 50
  },
  "hsl": {
    "h": 259.5,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19274,
    "c": 0.0747,
    "h": 293
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#170A32
secondary
#586F28
accent
#EA3EB2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #170A32

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

Preview Lab → · Contrast checker → · Palette generator →

#170A32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva