#170637#170637

#170637 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.088 H 291.9°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#170637
RGBrgb(23, 6, 55)
HSLhsl(261, 80%, 12%)
HSVhsv(261, 89%, 22%)
CMYKcmyk(58.2%, 89.1%, 0%, 78.4%)
CIE-LABlab(5.31, 21.50, -27.85)
CIE-LCHlch(5.31, 35.18, 307.67°)
OKLaboklab(19.1% 0.033 -0.0818)
OKLCHoklch(19.1% 0.088 291.9)
XYZxyz(1.1079, 0.5882, 3.6688)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170637 #263706
analogous
#060E37 #170637 #300637
triadic
#170637 #371706 #063717
tetradic
#170637 #37060E #263706 #063730
square
#170637 #37060E #263706 #063730
split-complementary
#170637 #373006 #0E3706
monochromatic
#0C031C #0C031C #170637 #2E0C6E #4512A5

Accessibility & contrast

On white

18.79
#170637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170637
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170637#FFFFFF#000000##FFFFFF
##1706371.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#0C131E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #170637;
/* rgb */ color: rgb(23, 6, 55);
/* oklch */ color: oklch(19.1% 0.088 291.9);
Tailwind
colors: {
  custom: {
    50: '#58486e',
    500: '#170637',
    950: '#000000',
  },
}
SCSS
$custom: #170637;
$custom-light: #58486e;
$custom-dark: #000000;
JSON
{
  "hex": "#170637",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 260.816,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19098,
    "c": 0.08821,
    "h": 291.9
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#170637
secondary
#5A7721
accent
#F731B2
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #170637

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

Preview Lab → · Contrast checker → · Palette generator →

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