#170441#170441

#170441 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.104 H 287.3°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#170441
RGBrgb(23, 4, 65)
HSLhsl(259, 88%, 14%)
HSVhsv(259, 94%, 25%)
CMYKcmyk(64.6%, 93.8%, 0%, 74.5%)
CIE-LABlab(5.88, 26.81, -34.16)
CIE-LCHlch(5.88, 43.42, 308.13°)
OKLaboklab(19.96% 0.0311 -0.0995)
OKLCHoklch(19.96% 0.104 287.3)
XYZxyz(1.3506, 0.6506, 5.0544)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170441 #2E4104
analogous
#040F41 #170441 #350441
triadic
#170441 #411704 #044117
tetradic
#170441 #41040F #2E4104 #044135
square
#170441 #41040F #2E4104 #044135
split-complementary
#170441 #413504 #0F4104
monochromatic
#0A021D #0A021D #170441 #2B087B #400BB4

Accessibility & contrast

On white

18.58
#170441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#170441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170441
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170441#FFFFFF#000000##FFFFFF
##1704411.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#041623
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #170441;
/* rgb */ color: rgb(23, 4, 65);
/* oklch */ color: oklch(20.0% 0.104 287.3);
Tailwind
colors: {
  custom: {
    50: '#5b4776',
    500: '#170441',
    950: '#000000',
  },
}
SCSS
$custom: #170441;
$custom-light: #5b4776;
$custom-dark: #000000;
JSON
{
  "hex": "#170441",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 258.689,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19955,
    "c": 0.1042,
    "h": 287.3
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#170441
secondary
#63821F
accent
#FF29BC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #170441

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

Preview Lab → · Contrast checker → · Palette generator →

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