#160331#160331

#160331 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.086 H 296.1°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#160331
RGBrgb(22, 3, 49)
HSLhsl(265, 88%, 10%)
HSVhsv(265, 94%, 19%)
CMYKcmyk(55.1%, 93.9%, 0%, 80.8%)
CIE-LABlab(4.13, 19.69, -25.33)
CIE-LCHlch(4.13, 32.08, 307.87°)
OKLaboklab(17.68% 0.0377 -0.0769)
OKLCHoklch(17.68% 0.086 296.1)
XYZxyz(0.9177, 0.4574, 2.9451)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160331 #1E3103
analogous
#030731 #160331 #2D0331
triadic
#160331 #311603 #033116
tetradic
#160331 #310307 #1E3103 #03312D
square
#160331 #310307 #1E3103 #03312D
split-complementary
#160331 #312D03 #073103
monochromatic
#0D021D #0D021D #160331 #30076B #4A0AA4

Accessibility & contrast

On white

19.24
#160331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#160331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160331
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160331#FFFFFF#000000##FFFFFF
##1603311.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000E30
Tritanopia (blue-blind)
#0E0F19
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #160331;
/* rgb */ color: rgb(22, 3, 49);
/* oklch */ color: oklch(17.7% 0.086 296.1);
Tailwind
colors: {
  custom: {
    50: '#554769',
    500: '#160331',
    950: '#000000',
  },
}
SCSS
$custom: #160331;
$custom-light: #554769;
$custom-dark: #000000;
JSON
{
  "hex": "#160331",
  "rgb": {
    "r": 22,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 264.783,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17684,
    "c": 0.08569,
    "h": 296.1
  },
  "luminance": 0.00457
}

Semantic roles & 50–950 ramp

primary
#160331
secondary
#50741B
accent
#FF29A6
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #160331

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

Preview Lab → · Contrast checker → · Palette generator →

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