#170437#170437

#170437 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.7% C 0.092 H 292.9°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#170437
RGBrgb(23, 4, 55)
HSLhsl(262, 86%, 12%)
HSVhsv(262, 93%, 22%)
CMYKcmyk(58.2%, 92.7%, 0%, 78.4%)
CIE-LABlab(4.92, 22.45, -28.48)
CIE-LCHlch(4.92, 36.27, 308.24°)
OKLaboklab(18.73% 0.0356 -0.0843)
OKLCHoklch(18.73% 0.092 292.9)
XYZxyz(1.0862, 0.5448, 3.6616)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170437 #243704
analogous
#040B37 #170437 #310437
triadic
#170437 #371704 #043717
tetradic
#170437 #37040B #243704 #043731
square
#170437 #37040B #243704 #043731
split-complementary
#170437 #373104 #0B3704
monochromatic
#0C021D #0C021D #170437 #2F0870 #470CA9

Accessibility & contrast

On white

18.94
#170437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170437
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170437#FFFFFF#000000##FFFFFF
##1704371.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#001036
Tritanopia (blue-blind)
#0C121D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170437;
/* rgb */ color: rgb(23, 4, 55);
/* oklch */ color: oklch(18.7% 0.092 292.9);
Tailwind
colors: {
  custom: {
    50: '#58476e',
    500: '#170437',
    950: '#000000',
  },
}
SCSS
$custom: #170437;
$custom-light: #58476e;
$custom-dark: #000000;
JSON
{
  "hex": "#170437",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 262.353,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18731,
    "c": 0.09153,
    "h": 292.9
  },
  "luminance": 0.00545
}

Semantic roles & 50–950 ramp

primary
#170437
secondary
#57791E
accent
#FD2BAF
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #170437

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

Preview Lab → · Contrast checker → · Palette generator →

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