#160440#160440

#160440 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.103 H 286.7°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#160440
RGBrgb(22, 4, 64)
HSLhsl(258, 88%, 13%)
HSVhsv(258, 94%, 25%)
CMYKcmyk(65.6%, 93.8%, 0%, 74.9%)
CIE-LABlab(5.67, 26.16, -33.79)
CIE-LCHlch(5.67, 42.73, 307.75°)
OKLaboklab(19.71% 0.0296 -0.0987)
OKLCHoklch(19.71% 0.103 286.7)
XYZxyz(1.2994, 0.6275, 4.9021)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160440 #2E4004
analogous
#041040 #160440 #340440
triadic
#160440 #401604 #044016
tetradic
#160440 #400410 #2E4004 #044034
square
#160440 #400410 #2E4004 #044034
split-complementary
#160440 #403404 #104004
monochromatic
#0A021D #0A021D #160440 #2A087A #3E0BB3

Accessibility & contrast

On white

18.66
#160440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160440
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160440#FFFFFF#000000##FFFFFF
##1604401.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#031623
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #160440;
/* rgb */ color: rgb(22, 4, 64);
/* oklch */ color: oklch(19.7% 0.103 286.7);
Tailwind
colors: {
  custom: {
    50: '#5a4776',
    500: '#160440',
    950: '#000000',
  },
}
SCSS
$custom: #160440;
$custom-light: #5a4776;
$custom-dark: #000000;
JSON
{
  "hex": "#160440",
  "rgb": {
    "r": 22,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 258,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.1971,
    "c": 0.10302,
    "h": 286.7
  },
  "luminance": 0.00628
}

Semantic roles & 50–950 ramp

primary
#160440
secondary
#64811F
accent
#FE29BE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #160440

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

Preview Lab → · Contrast checker → · Palette generator →

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