#160D39#160D39

#160D39 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.4% C 0.081 H 286.2°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#160D39
RGBrgb(22, 13, 57)
HSLhsl(252, 63%, 14%)
HSVhsv(252, 77%, 22%)
CMYKcmyk(61.4%, 77.2%, 0%, 77.6%)
CIE-LABlab(6.81, 18.53, -26.89)
CIE-LCHlch(6.81, 32.66, 304.57°)
OKLaboklab(20.42% 0.0226 -0.0775)
OKLCHoklch(20.42% 0.081 286.2)
XYZxyz(1.2131, 0.7538, 3.9517)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160D39 #30390D
analogous
#0D1A39 #160D39 #2C0D39
triadic
#160D39 #39160D #0D3916
tetradic
#160D39 #390D1A #30390D #0D392C
square
#160D39 #390D1A #30390D #0D392C
split-complementary
#160D39 #392C0D #1A390D
monochromatic
#0A0619 #0A0619 #160D39 #29186B #3C249D

Accessibility & contrast

On white

18.25
#160D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#160D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160D39
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160D39#FFFFFF#000000##FFFFFF
##160D391.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#081821
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #160d39;
/* rgb */ color: rgb(22, 13, 57);
/* oklch */ color: oklch(20.4% 0.081 286.2);
Tailwind
colors: {
  custom: {
    50: '#574c70',
    500: '#160d39',
    950: '#000000',
  },
}
SCSS
$custom: #160d39;
$custom-light: #574c70;
$custom-dark: #000000;
JSON
{
  "hex": "#160d39",
  "rgb": {
    "r": 22,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 252.273,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20415,
    "c": 0.08076,
    "h": 286.2
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#160D39
secondary
#66742D
accent
#E642C4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #160D39

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

Preview Lab → · Contrast checker → · Palette generator →

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