#170A35#170A35

#170A35 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.079 H 291.2°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#170A35
RGBrgb(23, 10, 53)
HSLhsl(258, 68%, 12%)
HSVhsv(258, 81%, 21%)
CMYKcmyk(56.6%, 81.1%, 0%, 79.2%)
CIE-LABlab(5.93, 18.73, -25.40)
CIE-LCHlch(5.93, 31.56, 306.41°)
OKLaboklab(19.58% 0.0286 -0.0738)
OKLCHoklch(19.58% 0.079 291.2)
XYZxyz(1.1043, 0.6562, 3.4360)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170A35 #28350A
analogous
#0A1235 #170A35 #2D0A35
triadic
#170A35 #35170A #0A3517
tetradic
#170A35 #350A12 #28350A #0A352D
square
#170A35 #350A12 #28350A #0A352D
split-complementary
#170A35 #352D0A #12350A
monochromatic
#0B051A #0B051A #170A35 #2D1468 #441D9C

Accessibility & contrast

On white

18.56
#170A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170A35
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170A35#FFFFFF#000000##FFFFFF
##170A351.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170a35;
/* rgb */ color: rgb(23, 10, 53);
/* oklch */ color: oklch(19.6% 0.079 291.2);
Tailwind
colors: {
  custom: {
    50: '#574a6d',
    500: '#170a35',
    950: '#000000',
  },
}
SCSS
$custom: #170a35;
$custom-light: #574a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#170a35",
  "rgb": {
    "r": 23,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 258.14,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19582,
    "c": 0.07917,
    "h": 291.2
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#170A35
secondary
#5C7228
accent
#EB3DB6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #170A35

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

Preview Lab → · Contrast checker → · Palette generator →

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