#160541#160541

#160541 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.103 H 285.9°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#160541
RGBrgb(22, 5, 65)
HSLhsl(257, 86%, 14%)
HSVhsv(257, 92%, 25%)
CMYKcmyk(66.2%, 92.3%, 0%, 74.5%)
CIE-LABlab(5.97, 26.07, -34.02)
CIE-LCHlch(5.97, 42.86, 307.47°)
OKLaboklab(20% 0.0282 -0.099)
OKLCHoklch(20% 0.103 285.9)
XYZxyz(1.3390, 0.6607, 5.0570)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160541 #304105
analogous
#051241 #160541 #340541
triadic
#160541 #411605 #054116
tetradic
#160541 #410512 #304105 #054134
square
#160541 #410512 #304105 #054134
split-complementary
#160541 #413405 #124105
monochromatic
#0A021C #0A021C #160541 #29097A #3C0EB3

Accessibility & contrast

On white

18.55
#160541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160541
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160541#FFFFFF#000000##FFFFFF
##1605411.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#021723
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #160541;
/* rgb */ color: rgb(22, 5, 65);
/* oklch */ color: oklch(20.0% 0.103 285.9);
Tailwind
colors: {
  custom: {
    50: '#5a4876',
    500: '#160541',
    950: '#000000',
  },
}
SCSS
$custom: #160541;
$custom-light: #5a4876;
$custom-dark: #000000;
JSON
{
  "hex": "#160541",
  "rgb": {
    "r": 22,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 257,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20002,
    "c": 0.10293,
    "h": 285.9
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#160541
secondary
#668120
accent
#FC2CC1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #160541

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

Preview Lab → · Contrast checker → · Palette generator →

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