#16022B#16022B

#16022B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.081 H 301.6°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#16022B
RGBrgb(22, 2, 43)
HSLhsl(269, 91%, 9%)
HSVhsv(269, 95%, 17%)
CMYKcmyk(48.8%, 95.3%, 0%, 83.1%)
CIE-LABlab(3.51, 17.18, -21.80)
CIE-LCHlch(3.51, 27.75, 308.24°)
OKLaboklab(16.77% 0.0422 -0.0686)
OKLCHoklch(16.77% 0.081 301.6)
XYZxyz(0.7885, 0.3884, 2.3185)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16022B #172B02
analogous
#02032B #16022B #2B022B
triadic
#16022B #2B1602 #022B16
tetradic
#16022B #2B0203 #172B02 #022B2B
square
#16022B #2B0203 #172B02 #022B2B
split-complementary
#16022B #2B2B02 #032B02
monochromatic
#0F011D #0F011D #16022B #340565 #5207A0

Accessibility & contrast

On white

19.49
#16022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#16022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16022B
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16022B#FFFFFF#000000##FFFFFF
##16022B1.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#000C2A
Tritanopia (blue-blind)
#110B16
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #16022b;
/* rgb */ color: rgb(22, 2, 43);
/* oklch */ color: oklch(16.8% 0.081 301.6);
Tailwind
colors: {
  custom: {
    50: '#544764',
    500: '#16022b',
    950: '#000000',
  },
}
SCSS
$custom: #16022b;
$custom-light: #544764;
$custom-dark: #000000;
JSON
{
  "hex": "#16022b",
  "rgb": {
    "r": 22,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 269.268,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.16767,
    "c": 0.08052,
    "h": 301.6
  },
  "luminance": 0.00388
}

Semantic roles & 50–950 ramp

primary
#16022B
secondary
#457019
accent
#FF2997
background
#F4F4F6
surface
#E8E6EB
border
#C4C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #16022B

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

Preview Lab → · Contrast checker → · Palette generator →

#16022B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva