#160B4D#160B4D

#160B4D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.112 H 279.9°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#160B4D
RGBrgb(22, 11, 77)
HSLhsl(250, 75%, 17%)
HSVhsv(250, 86%, 30%)
CMYKcmyk(71.4%, 85.7%, 0%, 69.8%)
CIE-LABlab(8.53, 27.29, -38.24)
CIE-LCHlch(8.53, 46.98, 305.51°)
OKLaboklab(22.36% 0.0192 -0.1104)
OKLCHoklch(22.36% 0.112 279.9)
XYZxyz(1.7897, 0.9456, 7.1079)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160B4D #424D0B
analogous
#0B214D #160B4D #370B4D
triadic
#160B4D #4D160B #0B4D16
tetradic
#160B4D #4D0B21 #424D0B #0B4D37
square
#160B4D #4D0B21 #424D0B #0B4D37
split-complementary
#160B4D #4D370B #214D0B
monochromatic
#08041B #08041B #160B4D #251383 #351AB8

Accessibility & contrast

On white

17.66
#160B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#160B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160B4D
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160B4D#FFFFFF#000000##FFFFFF
##160B4D1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4F
Deuteranopia (green-blind)
#00164C
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #160b4d;
/* rgb */ color: rgb(22, 11, 77);
/* oklch */ color: oklch(22.4% 0.112 279.9);
Tailwind
colors: {
  custom: {
    50: '#5d4c80',
    500: '#160b4d',
    950: '#000000',
  },
}
SCSS
$custom: #160b4d;
$custom-light: #5d4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#160b4d",
  "rgb": {
    "r": 22,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 250,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22359,
    "c": 0.11205,
    "h": 279.9
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#160B4D
secondary
#79892B
accent
#F236D2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #160B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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