#160641#160641

#160641 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.102 H 285.6°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#160641
RGBrgb(22, 6, 65)
HSLhsl(256, 83%, 14%)
HSVhsv(256, 91%, 25%)
CMYKcmyk(66.2%, 90.8%, 0%, 74.5%)
CIE-LABlab(6.16, 25.55, -33.69)
CIE-LCHlch(6.16, 42.28, 307.17°)
OKLaboklab(20.16% 0.0273 -0.0979)
OKLCHoklch(20.16% 0.102 285.6)
XYZxyz(1.3498, 0.6824, 5.0606)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160641 #314106
analogous
#061441 #160641 #340641
triadic
#160641 #411606 #064116
tetradic
#160641 #410614 #314106 #064134
square
#160641 #410614 #314106 #064134
split-complementary
#160641 #413406 #144106
monochromatic
#09031C #09031C #160641 #290B79 #3C10B1

Accessibility & contrast

On white

18.48
#160641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#160641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160641
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160641#FFFFFF#000000##FFFFFF
##1606411.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#021824
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #160641;
/* rgb */ color: rgb(22, 6, 65);
/* oklch */ color: oklch(20.2% 0.102 285.6);
Tailwind
colors: {
  custom: {
    50: '#5a4876',
    500: '#160641',
    950: '#000000',
  },
}
SCSS
$custom: #160641;
$custom-light: #5a4876;
$custom-dark: #000000;
JSON
{
  "hex": "#160641",
  "rgb": {
    "r": 22,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 256.271,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20164,
    "c": 0.10161,
    "h": 285.6
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#160641
secondary
#678122
accent
#F92EC2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #160641

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

Preview Lab → · Contrast checker → · Palette generator →

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