#160B47#160B47

#160B47 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.104 H 281.7°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#160B47
RGBrgb(22, 11, 71)
HSLhsl(251, 73%, 16%)
HSVhsv(251, 85%, 28%)
CMYKcmyk(69%, 84.5%, 0%, 72.2%)
CIE-LABlab(7.81, 25.18, -35.24)
CIE-LCHlch(7.81, 43.31, 305.55°)
OKLaboklab(21.64% 0.0211 -0.1016)
OKLCHoklch(21.64% 0.104 281.7)
XYZxyz(1.5875, 0.8647, 6.0433)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160B47 #3C470B
analogous
#0B1E47 #160B47 #340B47
triadic
#160B47 #47160B #0B4716
tetradic
#160B47 #470B1E #3C470B #0B4734
square
#160B47 #470B1E #3C470B #0B4734
split-complementary
#160B47 #47340B #1E470B
monochromatic
#08041A #08041A #160B47 #26137C #371BB1

Accessibility & contrast

On white

17.90
#160B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#160B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160B47
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160B47#FFFFFF#000000##FFFFFF
##160B471.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #160b47;
/* rgb */ color: rgb(22, 11, 71);
/* oklch */ color: oklch(21.6% 0.104 281.7);
Tailwind
colors: {
  custom: {
    50: '#5b4b7b',
    500: '#160b47',
    950: '#000000',
  },
}
SCSS
$custom: #160b47;
$custom-light: #5b4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#160b47",
  "rgb": {
    "r": 22,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 251,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2164,
    "c": 0.10381,
    "h": 281.7
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#160B47
secondary
#73832A
accent
#F038CE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #160B47

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

Preview Lab → · Contrast checker → · Palette generator →

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