#170736#170736

#170736 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.085 H 292.1°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#170736
RGBrgb(23, 7, 54)
HSLhsl(260, 77%, 12%)
HSVhsv(260, 87%, 21%)
CMYKcmyk(57.4%, 87%, 0%, 78.8%)
CIE-LABlab(5.42, 20.58, -26.94)
CIE-LCHlch(5.42, 33.90, 307.38°)
OKLaboklab(19.16% 0.032 -0.079)
OKLCHoklch(19.16% 0.085 292.1)
XYZxyz(1.0950, 0.6004, 3.5475)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170736 #263607
analogous
#070E36 #170736 #2F0736
triadic
#170736 #361707 #073617
tetradic
#170736 #36070E #263607 #07362F
square
#170736 #36070E #263607 #07362F
split-complementary
#170736 #362F07 #0E3607
monochromatic
#0C041B #0C041B #170736 #2E0E6C #4515A2

Accessibility & contrast

On white

18.75
#170736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170736
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170736#FFFFFF#000000##FFFFFF
##1707361.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#0D131E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #170736;
/* rgb */ color: rgb(23, 7, 54);
/* oklch */ color: oklch(19.2% 0.085 292.1);
Tailwind
colors: {
  custom: {
    50: '#58496d',
    500: '#170736',
    950: '#000000',
  },
}
SCSS
$custom: #170736;
$custom-light: #58496d;
$custom-dark: #000000;
JSON
{
  "hex": "#170736",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 260.426,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19164,
    "c": 0.08524,
    "h": 292.1
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#170736
secondary
#5A7623
accent
#F434B2
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030107
muted
#78777A

Preview Lab

Preview with #170736

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

Preview Lab → · Contrast checker → · Palette generator →

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