#170439#170439

#170439 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.094 H 291.6°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#170439
RGBrgb(23, 4, 57)
HSLhsl(262, 87%, 12%)
HSVhsv(262, 93%, 22%)
CMYKcmyk(59.6%, 93%, 0%, 77.6%)
CIE-LABlab(5.10, 23.35, -29.66)
CIE-LCHlch(5.10, 37.75, 308.21°)
OKLaboklab(18.97% 0.0347 -0.0874)
OKLCHoklch(18.97% 0.094 291.6)
XYZxyz(1.1351, 0.5644, 3.9192)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170439 #263904
analogous
#040C39 #170439 #320439
triadic
#170439 #391704 #043917
tetradic
#170439 #39040C #263904 #043932
square
#170439 #39040C #263904 #043932
split-complementary
#170439 #393204 #0C3904
monochromatic
#0C021D #0C021D #170439 #2E0872 #450CAB

Accessibility & contrast

On white

18.87
#170439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170439
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170439#FFFFFF#000000##FFFFFF
##1704391.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#0B131E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170439;
/* rgb */ color: rgb(23, 4, 57);
/* oklch */ color: oklch(19.0% 0.094 291.6);
Tailwind
colors: {
  custom: {
    50: '#584770',
    500: '#170439',
    950: '#000000',
  },
}
SCSS
$custom: #170439;
$custom-light: #584770;
$custom-dark: #000000;
JSON
{
  "hex": "#170439",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 261.509,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.1897,
    "c": 0.09408,
    "h": 291.6
  },
  "luminance": 0.00564
}

Semantic roles & 50–950 ramp

primary
#170439
secondary
#5A7B1E
accent
#FD2BB2
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #170439

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

Preview Lab → · Contrast checker → · Palette generator →

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