#160941#160941

#160941 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.098 H 284.5°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#160941
RGBrgb(22, 9, 65)
HSLhsl(254, 76%, 15%)
HSVhsv(254, 86%, 25%)
CMYKcmyk(66.2%, 86.2%, 0%, 74.5%)
CIE-LABlab(6.75, 23.98, -32.73)
CIE-LCHlch(6.75, 40.58, 306.23°)
OKLaboklab(20.64% 0.0246 -0.0947)
OKLCHoklch(20.64% 0.098 284.5)
XYZxyz(1.3824, 0.7475, 5.0714)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160941 #344109
analogous
#091841 #160941 #320941
triadic
#160941 #411609 #094116
tetradic
#160941 #410918 #344109 #094132
square
#160941 #410918 #344109 #094132
split-complementary
#160941 #413209 #184109
monochromatic
#09041B #09041B #160941 #281077 #3A18AD

Accessibility & contrast

On white

18.27
#160941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#160941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160941
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160941#FFFFFF#000000##FFFFFF
##1609411.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#011924
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #160941;
/* rgb */ color: rgb(22, 9, 65);
/* oklch */ color: oklch(20.6% 0.098 284.5);
Tailwind
colors: {
  custom: {
    50: '#5a4a76',
    500: '#160941',
    950: '#000000',
  },
}
SCSS
$custom: #160941;
$custom-light: #5a4a76;
$custom-dark: #000000;
JSON
{
  "hex": "#160941",
  "rgb": {
    "r": 22,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 253.929,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20636,
    "c": 0.09779,
    "h": 284.5
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#160941
secondary
#6A7F27
accent
#F236C6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160941

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

Preview Lab → · Contrast checker → · Palette generator →

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