#16022D#16022D

#16022D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.083 H 299.8°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#16022D
RGBrgb(22, 2, 45)
HSLhsl(268, 91%, 9%)
HSVhsv(268, 96%, 18%)
CMYKcmyk(51.1%, 95.6%, 0%, 82.4%)
CIE-LABlab(3.64, 18.13, -23.10)
CIE-LCHlch(3.64, 29.37, 308.13°)
OKLaboklab(17% 0.0413 -0.0719)
OKLCHoklch(17% 0.083 299.8)
XYZxyz(0.8261, 0.4034, 2.5165)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16022D #192D02
analogous
#02042D #16022D #2C022D
triadic
#16022D #2D1602 #022D16
tetradic
#16022D #2D0204 #192D02 #022D2C
square
#16022D #2D0204 #192D02 #022D2C
split-complementary
#16022D #2D2C02 #042D02
monochromatic
#0E011D #0E011D #16022D #330568 #4F07A2

Accessibility & contrast

On white

19.43
#16022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16022D
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16022D#FFFFFF#000000##FFFFFF
##16022D1.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#000D2C
Tritanopia (blue-blind)
#100C17
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #16022d;
/* rgb */ color: rgb(22, 2, 45);
/* oklch */ color: oklch(17.0% 0.083 299.8);
Tailwind
colors: {
  custom: {
    50: '#544766',
    500: '#16022d',
    950: '#000000',
  },
}
SCSS
$custom: #16022d;
$custom-light: #544766;
$custom-dark: #000000;
JSON
{
  "hex": "#16022d",
  "rgb": {
    "r": 22,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 267.907,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16998,
    "c": 0.08292,
    "h": 299.8
  },
  "luminance": 0.00403
}

Semantic roles & 50–950 ramp

primary
#16022D
secondary
#497219
accent
#FF299B
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #16022D

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

Preview Lab → · Contrast checker → · Palette generator →

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