#160C41#160C41

#160C41 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.094 H 283.5°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#160C41
RGBrgb(22, 12, 65)
HSLhsl(251, 69%, 15%)
HSVhsv(251, 82%, 25%)
CMYKcmyk(66.2%, 81.5%, 0%, 74.5%)
CIE-LABlab(7.36, 22.33, -31.73)
CIE-LCHlch(7.36, 38.80, 305.14°)
OKLaboklab(21.11% 0.0219 -0.0915)
OKLCHoklch(21.11% 0.094 283.5)
XYZxyz(1.4162, 0.8151, 5.0827)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C41 #37410C
analogous
#0C1C41 #160C41 #310C41
triadic
#160C41 #41160C #0C4116
tetradic
#160C41 #410C1C #37410C #0C4131
square
#160C41 #410C1C #37410C #0C4131
split-complementary
#160C41 #41310C #1C410C
monochromatic
#09051A #09051A #160C41 #271675 #391FA8

Accessibility & contrast

On white

18.06
#160C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#160C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C41
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C41#FFFFFF#000000##FFFFFF
##160C411.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#011A25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160c41;
/* rgb */ color: rgb(22, 12, 65);
/* oklch */ color: oklch(21.1% 0.094 283.5);
Tailwind
colors: {
  custom: {
    50: '#5a4c76',
    500: '#160c41',
    950: '#000000',
  },
}
SCSS
$custom: #160c41;
$custom-light: #5a4c76;
$custom-dark: #000000;
JSON
{
  "hex": "#160c41",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 251.321,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21105,
    "c": 0.09408,
    "h": 283.5
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#160C41
secondary
#6E7D2C
accent
#EC3CCB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160C41

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

Preview Lab → · Contrast checker → · Palette generator →

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