#160A42#160A42

#160A42 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.098 H 283.8°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#160A42
RGBrgb(22, 10, 66)
HSLhsl(253, 74%, 15%)
HSVhsv(253, 85%, 26%)
CMYKcmyk(66.7%, 84.8%, 0%, 74.1%)
CIE-LABlab(7.05, 23.85, -32.95)
CIE-LCHlch(7.05, 40.67, 305.90°)
OKLaboklab(20.91% 0.0234 -0.0951)
OKLCHoklch(20.91% 0.098 283.8)
XYZxyz(1.4225, 0.7809, 5.2290)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160A42 #36420A
analogous
#0A1A42 #160A42 #320A42
triadic
#160A42 #42160A #0A4216
tetradic
#160A42 #420A1A #36420A #0A4232
square
#160A42 #420A1A #36420A #0A4232
split-complementary
#160A42 #42320A #1A420A
monochromatic
#09041B #09041B #160A42 #281277 #391AAC

Accessibility & contrast

On white

18.16
#160A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#160A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160A42
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160A42#FFFFFF#000000##FFFFFF
##160A421.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001441
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160a42;
/* rgb */ color: rgb(22, 10, 66);
/* oklch */ color: oklch(20.9% 0.098 283.8);
Tailwind
colors: {
  custom: {
    50: '#5a4a77',
    500: '#160a42',
    950: '#000000',
  },
}
SCSS
$custom: #160a42;
$custom-light: #5a4a77;
$custom-dark: #000000;
JSON
{
  "hex": "#160a42",
  "rgb": {
    "r": 22,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 252.857,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20905,
    "c": 0.09799,
    "h": 283.8
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#160A42
secondary
#6D7F29
accent
#F037C9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #160A42

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

Preview Lab → · Contrast checker → · Palette generator →

#160A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva