#160847#160847

#160847 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.107 H 282.6°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#160847
RGBrgb(22, 8, 71)
HSLhsl(253, 80%, 15%)
HSVhsv(253, 89%, 28%)
CMYKcmyk(69%, 88.7%, 0%, 72.2%)
CIE-LABlab(7.22, 26.84, -36.21)
CIE-LCHlch(7.22, 45.08, 306.55°)
OKLaboklab(21.21% 0.0233 -0.1046)
OKLCHoklch(21.21% 0.107 282.6)
XYZxyz(1.5547, 0.7991, 6.0323)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160847 #394708
analogous
#081947 #160847 #350847
triadic
#160847 #471608 #084716
tetradic
#160847 #470819 #394708 #084735
square
#160847 #470819 #394708 #084735
split-complementary
#160847 #473508 #194708
monochromatic
#09031C #09031C #160847 #270E7E #3814B5

Accessibility & contrast

On white

18.11
#160847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#160847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160847
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160847#FFFFFF#000000##FFFFFF
##1608471.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#001B28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160847;
/* rgb */ color: rgb(22, 8, 71);
/* oklch */ color: oklch(21.2% 0.107 282.6);
Tailwind
colors: {
  custom: {
    50: '#5c4a7b',
    500: '#160847',
    950: '#000000',
  },
}
SCSS
$custom: #160847;
$custom-light: #5c4a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#160847",
  "rgb": {
    "r": 22,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 253.333,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21208,
    "c": 0.10715,
    "h": 282.6
  },
  "luminance": 0.00799
}

Semantic roles & 50–950 ramp

primary
#160847
secondary
#708526
accent
#F632CB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #160847

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

Preview Lab → · Contrast checker → · Palette generator →

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