#160839#160839

#160839 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.088 H 288.6°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#160839
RGBrgb(22, 8, 57)
HSLhsl(257, 75%, 13%)
HSVhsv(257, 86%, 22%)
CMYKcmyk(61.4%, 86%, 0%, 77.6%)
CIE-LABlab(5.78, 21.12, -28.56)
CIE-LCHlch(5.78, 35.52, 306.48°)
OKLaboklab(19.55% 0.0281 -0.0833)
OKLCHoklch(19.55% 0.088 288.6)
XYZxyz(1.1560, 0.6396, 3.9326)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160839 #2B3908
analogous
#081239 #160839 #2E0839
triadic
#160839 #391608 #083916
tetradic
#160839 #390812 #2B3908 #08392E
square
#160839 #390812 #2B3908 #08392E
split-complementary
#160839 #392E08 #123908
monochromatic
#0A041B #0A041B #160839 #2B106F #3F17A4

Accessibility & contrast

On white

18.62
#160839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#160839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160839
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160839#FFFFFF#000000##FFFFFF
##1608391.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#081520
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #160839;
/* rgb */ color: rgb(22, 8, 57);
/* oklch */ color: oklch(19.6% 0.088 288.6);
Tailwind
colors: {
  custom: {
    50: '#584970',
    500: '#160839',
    950: '#000000',
  },
}
SCSS
$custom: #160839;
$custom-light: #584970;
$custom-dark: #000000;
JSON
{
  "hex": "#160839",
  "rgb": {
    "r": 22,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 257.143,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19551,
    "c": 0.08793,
    "h": 288.6
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#160839
secondary
#607825
accent
#F236BC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #160839

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

Preview Lab → · Contrast checker → · Palette generator →

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