#160731#160731

#160731 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.078 H 293.9°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#160731
RGBrgb(22, 7, 49)
HSLhsl(261, 75%, 11%)
HSVhsv(261, 86%, 19%)
CMYKcmyk(55.1%, 85.7%, 0%, 80.8%)
CIE-LABlab(4.92, 17.96, -24.07)
CIE-LCHlch(4.92, 30.03, 306.73°)
OKLaboklab(18.49% 0.0316 -0.0715)
OKLCHoklch(18.49% 0.078 293.9)
XYZxyz(0.9611, 0.5443, 2.9595)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160731 #223107
analogous
#070D31 #160731 #2B0731
triadic
#160731 #311607 #073116
tetradic
#160731 #31070D #223107 #07312B
square
#160731 #31070D #223107 #07312B
split-complementary
#160731 #312B07 #0D3107
monochromatic
#0C041B #0C041B #160731 #2E0F67 #46169C

Accessibility & contrast

On white

18.94
#160731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#160731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160731
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160731#FFFFFF#000000##FFFFFF
##1607311.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#001030
Tritanopia (blue-blind)
#0E121B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #160731;
/* rgb */ color: rgb(22, 7, 49);
/* oklch */ color: oklch(18.5% 0.078 293.9);
Tailwind
colors: {
  custom: {
    50: '#564969',
    500: '#160731',
    950: '#000000',
  },
}
SCSS
$custom: #160731;
$custom-light: #564969;
$custom-dark: #000000;
JSON
{
  "hex": "#160731",
  "rgb": {
    "r": 22,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 261.429,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18487,
    "c": 0.07819,
    "h": 293.9
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#160731
secondary
#557123
accent
#F236AF
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #160731

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

Preview Lab → · Contrast checker → · Palette generator →

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