#16042A#16042A

#16042A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.1% C 0.075 H 301.2°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#16042A
RGBrgb(22, 4, 42)
HSLhsl(268, 83%, 9%)
HSVhsv(268, 90%, 16%)
CMYKcmyk(47.6%, 90.5%, 0%, 83.5%)
CIE-LABlab(3.84, 15.92, -20.52)
CIE-LCHlch(3.84, 25.97, 307.79°)
OKLaboklab(17.11% 0.0386 -0.0638)
OKLCHoklch(17.11% 0.075 301.2)
XYZxyz(0.7921, 0.4246, 2.2303)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16042A #182A04
analogous
#04052A #16042A #29042A
triadic
#16042A #2A1604 #042A16
tetradic
#16042A #2A0405 #182A04 #042A29
square
#16042A #2A0405 #182A04 #042A29
split-complementary
#16042A #2A2904 #052A04
monochromatic
#0F031C #0F031C #16042A #330962 #510F9A

Accessibility & contrast

On white

19.35
#16042A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16042A
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16042A#FFFFFF#000000##FFFFFF
##16042A1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000D29
Tritanopia (blue-blind)
#120D16
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #16042a;
/* rgb */ color: rgb(22, 4, 42);
/* oklch */ color: oklch(17.1% 0.075 301.2);
Tailwind
colors: {
  custom: {
    50: '#544864',
    500: '#16042a',
    950: '#000000',
  },
}
SCSS
$custom: #16042a;
$custom-light: #544864;
$custom-dark: #000000;
JSON
{
  "hex": "#16042a",
  "rgb": {
    "r": 22,
    "g": 4,
    "b": 42
  },
  "hsl": {
    "h": 268.421,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17115,
    "c": 0.07455,
    "h": 301.2
  },
  "luminance": 0.00425
}

Semantic roles & 50–950 ramp

primary
#16042A
secondary
#476D1D
accent
#F92F99
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #16042A

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

Preview Lab → · Contrast checker → · Palette generator →

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