#160B4A#160B4A

#160B4A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.108 H 280.8°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#160B4A
RGBrgb(22, 11, 74)
HSLhsl(250, 74%, 17%)
HSVhsv(250, 85%, 29%)
CMYKcmyk(70.3%, 85.1%, 0%, 71%)
CIE-LABlab(8.17, 26.24, -36.75)
CIE-LCHlch(8.17, 45.16, 305.53°)
OKLaboklab(22% 0.0202 -0.1061)
OKLCHoklch(22% 0.108 280.8)
XYZxyz(1.6862, 0.9042, 6.5629)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160B4A #3F4A0B
analogous
#0B204A #160B4A #360B4A
triadic
#160B4A #4A160B #0B4A16
tetradic
#160B4A #4A0B20 #3F4A0B #0B4A36
square
#160B4A #4A0B20 #3F4A0B #0B4A36
split-complementary
#160B4A #4A360B #204A0B
monochromatic
#08041B #08041B #160B4A #26137F #361BB5

Accessibility & contrast

On white

17.78
#160B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#160B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160B4A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160B4A#FFFFFF#000000##FFFFFF
##160B4A1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#001D2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #160b4a;
/* rgb */ color: rgb(22, 11, 74);
/* oklch */ color: oklch(22.0% 0.108 280.8);
Tailwind
colors: {
  custom: {
    50: '#5c4b7d',
    500: '#160b4a',
    950: '#000000',
  },
}
SCSS
$custom: #160b4a;
$custom-light: #5c4b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#160b4a",
  "rgb": {
    "r": 22,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 250.476,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21997,
    "c": 0.10796,
    "h": 280.8
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#160B4A
secondary
#76862B
accent
#F137D0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #160B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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