#160741#160741

#160741 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.100 H 285.2°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#160741
RGBrgb(22, 7, 65)
HSLhsl(256, 81%, 14%)
HSVhsv(256, 89%, 25%)
CMYKcmyk(66.2%, 89.2%, 0%, 74.5%)
CIE-LABlab(6.36, 25.03, -33.37)
CIE-LCHlch(6.36, 41.72, 306.87°)
OKLaboklab(20.32% 0.0264 -0.0968)
OKLCHoklch(20.32% 0.1 285.2)
XYZxyz(1.3607, 0.7041, 5.0642)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160741 #324107
analogous
#071541 #160741 #330741
triadic
#160741 #411607 #074116
tetradic
#160741 #410715 #324107 #074133
square
#160741 #410715 #324107 #074133
split-complementary
#160741 #413307 #154107
monochromatic
#09031C #09031C #160741 #290D78 #3B13B0

Accessibility & contrast

On white

18.41
#160741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160741
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160741#FFFFFF#000000##FFFFFF
##1607411.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #160741;
/* rgb */ color: rgb(22, 7, 65);
/* oklch */ color: oklch(20.3% 0.100 285.2);
Tailwind
colors: {
  custom: {
    50: '#5a4976',
    500: '#160741',
    950: '#000000',
  },
}
SCSS
$custom: #160741;
$custom-light: #5a4976;
$custom-dark: #000000;
JSON
{
  "hex": "#160741",
  "rgb": {
    "r": 22,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 255.517,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20324,
    "c": 0.10031,
    "h": 285.2
  },
  "luminance": 0.00704
}

Semantic roles & 50–950 ramp

primary
#160741
secondary
#688024
accent
#F731C4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160741

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

Preview Lab → · Contrast checker → · Palette generator →

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