#170436#170436

#170436 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.090 H 293.5°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#170436
RGBrgb(23, 4, 54)
HSLhsl(263, 86%, 11%)
HSVhsv(263, 93%, 21%)
CMYKcmyk(57.4%, 92.6%, 0%, 78.8%)
CIE-LABlab(4.84, 21.99, -27.89)
CIE-LCHlch(4.84, 35.51, 308.25°)
OKLaboklab(18.61% 0.036 -0.0828)
OKLCHoklch(18.61% 0.09 293.5)
XYZxyz(1.0624, 0.5353, 3.5367)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170436 #233604
analogous
#040A36 #170436 #300436
triadic
#170436 #361704 #043617
tetradic
#170436 #36040A #233604 #043630
square
#170436 #36040A #233604 #043630
split-complementary
#170436 #363004 #0A3604
monochromatic
#0C021C #0C021C #170436 #2F086F #480CA8

Accessibility & contrast

On white

18.97
#170436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#170436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170436
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170436#FFFFFF#000000##FFFFFF
##1704361.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001137
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#0D121D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #170436;
/* rgb */ color: rgb(23, 4, 54);
/* oklch */ color: oklch(18.6% 0.090 293.5);
Tailwind
colors: {
  custom: {
    50: '#58476d',
    500: '#170436',
    950: '#000000',
  },
}
SCSS
$custom: #170436;
$custom-light: #58476d;
$custom-dark: #000000;
JSON
{
  "hex": "#170436",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 262.8,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18613,
    "c": 0.09025,
    "h": 293.5
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#170436
secondary
#56781E
accent
#FC2BAD
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #170436

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

Preview Lab → · Contrast checker → · Palette generator →

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