#160B41#160B41

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

Color values

HEX#160B41
RGBrgb(22, 11, 65)
HSLhsl(252, 71%, 15%)
HSVhsv(252, 83%, 25%)
CMYKcmyk(66.2%, 83.1%, 0%, 74.5%)
CIE-LABlab(7.15, 22.91, -32.08)
CIE-LCHlch(7.15, 39.42, 305.53°)
OKLaboklab(20.94% 0.0228 -0.0926)
OKLCHoklch(20.94% 0.095 283.8)
XYZxyz(1.4044, 0.7915, 5.0788)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160B41 #36410B
analogous
#0B1B41 #160B41 #310B41
triadic
#160B41 #41160B #0B4116
tetradic
#160B41 #410B1B #36410B #0B4131
square
#160B41 #410B1B #36410B #0B4131
split-complementary
#160B41 #41310B #1B410B
monochromatic
#09041A #09041A #160B41 #281475 #391DAA

Accessibility & contrast

On white

18.13
#160B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160B41
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160B41#FFFFFF#000000##FFFFFF
##160B411.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#011A25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160b41;
/* rgb */ color: rgb(22, 11, 65);
/* oklch */ color: oklch(20.9% 0.095 283.8);
Tailwind
colors: {
  custom: {
    50: '#5a4b76',
    500: '#160b41',
    950: '#000000',
  },
}
SCSS
$custom: #160b41;
$custom-light: #5a4b76;
$custom-dark: #000000;
JSON
{
  "hex": "#160b41",
  "rgb": {
    "r": 22,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 252.222,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20944,
    "c": 0.09535,
    "h": 283.8
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#160B41
secondary
#6D7E2A
accent
#EE3AC9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160B41

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

Preview Lab → · Contrast checker → · Palette generator →

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