#16042B#16042B

#16042B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.076 H 300.3°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#16042B
RGBrgb(22, 4, 43)
HSLhsl(268, 83%, 9%)
HSVhsv(268, 91%, 17%)
CMYKcmyk(48.8%, 90.7%, 0%, 83.1%)
CIE-LABlab(3.90, 16.38, -21.18)
CIE-LCHlch(3.90, 26.77, 307.71°)
OKLaboklab(17.22% 0.0383 -0.0655)
OKLCHoklch(17.22% 0.076 300.3)
XYZxyz(0.8102, 0.4318, 2.3257)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16042B #192B04
analogous
#04062B #16042B #2A042B
triadic
#16042B #2B1604 #042B16
tetradic
#16042B #2B0406 #192B04 #042B2A
square
#16042B #2B0406 #192B04 #042B2A
split-complementary
#16042B #2B2A04 #062B04
monochromatic
#0E031C #0E031C #16042B #330963 #4F0E9B

Accessibility & contrast

On white

19.33
#16042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#16042B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16042B
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16042B#FFFFFF#000000##FFFFFF
##16042B1.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#000E2A
Tritanopia (blue-blind)
#110D16
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #16042b;
/* rgb */ color: rgb(22, 4, 43);
/* oklch */ color: oklch(17.2% 0.076 300.3);
Tailwind
colors: {
  custom: {
    50: '#544864',
    500: '#16042b',
    950: '#000000',
  },
}
SCSS
$custom: #16042b;
$custom-light: #544864;
$custom-dark: #000000;
JSON
{
  "hex": "#16042b",
  "rgb": {
    "r": 22,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 267.692,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17223,
    "c": 0.07587,
    "h": 300.3
  },
  "luminance": 0.00432
}

Semantic roles & 50–950 ramp

primary
#16042B
secondary
#496E1D
accent
#F92E9C
background
#F4F4F6
surface
#E8E6EB
border
#C4C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #16042B

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

Preview Lab → · Contrast checker → · Palette generator →

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