#16052B#16052B

#16052B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.4% C 0.074 H 299.7°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#16052B
RGBrgb(22, 5, 43)
HSLhsl(267, 79%, 9%)
HSVhsv(267, 88%, 17%)
CMYKcmyk(48.8%, 88.4%, 0%, 83.1%)
CIE-LABlab(4.10, 15.98, -20.87)
CIE-LCHlch(4.10, 26.29, 307.44°)
OKLaboklab(17.44% 0.0365 -0.064)
OKLCHoklch(17.44% 0.074 299.7)
XYZxyz(0.8211, 0.4535, 2.3293)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16052B #1A2B05
analogous
#05072B #16052B #29052B
triadic
#16052B #2B1605 #052B16
tetradic
#16052B #2B0507 #1A2B05 #052B29
square
#16052B #2B0507 #1A2B05 #052B29
split-complementary
#16052B #2B2905 #072B05
monochromatic
#0E031B #0E031B #16052B #320B62 #4E1299

Accessibility & contrast

On white

19.25
#16052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16052B
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16052B#FFFFFF#000000##FFFFFF
##16052B1.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16052b;
/* rgb */ color: rgb(22, 5, 43);
/* oklch */ color: oklch(17.4% 0.074 299.7);
Tailwind
colors: {
  custom: {
    50: '#544864',
    500: '#16052b',
    950: '#000000',
  },
}
SCSS
$custom: #16052b;
$custom-light: #544864;
$custom-dark: #000000;
JSON
{
  "hex": "#16052b",
  "rgb": {
    "r": 22,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 266.842,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17442,
    "c": 0.07367,
    "h": 299.7
  },
  "luminance": 0.00454
}

Semantic roles & 50–950 ramp

primary
#16052B
secondary
#4A6D1F
accent
#F6329E
background
#F4F4F6
surface
#E8E6EB
border
#C4C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #16052B

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

Preview Lab → · Contrast checker → · Palette generator →

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