#160844#160844

#160844 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.103 H 283.7°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#160844
RGBrgb(22, 8, 68)
HSLhsl(254, 79%, 15%)
HSVhsv(254, 88%, 27%)
CMYKcmyk(67.6%, 88.2%, 0%, 73.3%)
CIE-LABlab(6.88, 25.70, -34.65)
CIE-LCHlch(6.88, 43.14, 306.56°)
OKLaboklab(20.84% 0.0244 -0.1002)
OKLCHoklch(20.84% 0.103 283.7)
XYZxyz(1.4608, 0.7615, 5.5377)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160844 #364408
analogous
#081844 #160844 #340844
triadic
#160844 #441608 #084416
tetradic
#160844 #440818 #364408 #084434
square
#160844 #440818 #364408 #084434
split-complementary
#160844 #443408 #184408
monochromatic
#09031B #09031B #160844 #280E7B #3915B2

Accessibility & contrast

On white

18.22
#160844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#160844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160844
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160844#FFFFFF#000000##FFFFFF
##1608441.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001746
Deuteranopia (green-blind)
#001343
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #160844;
/* rgb */ color: rgb(22, 8, 68);
/* oklch */ color: oklch(20.8% 0.103 283.7);
Tailwind
colors: {
  custom: {
    50: '#5b4979',
    500: '#160844',
    950: '#000000',
  },
}
SCSS
$custom: #160844;
$custom-light: #5b4979;
$custom-dark: #000000;
JSON
{
  "hex": "#160844",
  "rgb": {
    "r": 22,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 254,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20842,
    "c": 0.10312,
    "h": 283.7
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#160844
secondary
#6D8226
accent
#F532C8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #160844

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

Preview Lab → · Contrast checker → · Palette generator →

#160844 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva