#16052F#16052F

#16052F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.079 H 296.5°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#16052F
RGBrgb(22, 5, 47)
HSLhsl(264, 81%, 10%)
HSVhsv(264, 89%, 18%)
CMYKcmyk(53.2%, 89.4%, 0%, 81.6%)
CIE-LABlab(4.37, 17.88, -23.44)
CIE-LCHlch(4.37, 29.49, 307.34°)
OKLaboklab(17.87% 0.0352 -0.0708)
OKLCHoklch(17.87% 0.079 296.5)
XYZxyz(0.8981, 0.4843, 2.7349)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16052F #1E2F05
analogous
#05092F #16052F #2B052F
triadic
#16052F #2F1605 #052F16
tetradic
#16052F #2F0509 #1E2F05 #052F2B
square
#16052F #2F0509 #1E2F05 #052F2B
split-complementary
#16052F #2F2B05 #092F05
monochromatic
#0D031C #0D031C #16052F #300B66 #4A119E

Accessibility & contrast

On white

19.15
#16052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#16052F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16052F
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16052F#FFFFFF#000000##FFFFFF
##16052F1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#0F1019
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #16052f;
/* rgb */ color: rgb(22, 5, 47);
/* oklch */ color: oklch(17.9% 0.079 296.5);
Tailwind
colors: {
  custom: {
    50: '#554868',
    500: '#16052f',
    950: '#000000',
  },
}
SCSS
$custom: #16052f;
$custom-light: #554868;
$custom-dark: #000000;
JSON
{
  "hex": "#16052f",
  "rgb": {
    "r": 22,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 264.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17872,
    "c": 0.07912,
    "h": 296.5
  },
  "luminance": 0.00484
}

Semantic roles & 50–950 ramp

primary
#16052F
secondary
#50711F
accent
#F731A7
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #16052F

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

Preview Lab → · Contrast checker → · Palette generator →

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