#16052D#16052D

#16052D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.076 H 298.0°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#16052D
RGBrgb(22, 5, 45)
HSLhsl(266, 80%, 10%)
HSVhsv(266, 89%, 18%)
CMYKcmyk(51.1%, 88.9%, 0%, 82.4%)
CIE-LABlab(4.23, 16.93, -22.17)
CIE-LCHlch(4.23, 27.89, 307.37°)
OKLaboklab(17.66% 0.0359 -0.0674)
OKLCHoklch(17.66% 0.076 298)
XYZxyz(0.8587, 0.4686, 2.5273)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16052D #1C2D05
analogous
#05082D #16052D #2A052D
triadic
#16052D #2D1605 #052D16
tetradic
#16052D #2D0508 #1C2D05 #052D2A
square
#16052D #2D0508 #1C2D05 #052D2A
split-complementary
#16052D #2D2A05 #082D05
monochromatic
#0D031C #0D031C #16052D #310B64 #4C119B

Accessibility & contrast

On white

19.20
#16052D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16052D
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16052D#FFFFFF#000000##FFFFFF
##16052D1.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#100F18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #16052d;
/* rgb */ color: rgb(22, 5, 45);
/* oklch */ color: oklch(17.7% 0.076 298.0);
Tailwind
colors: {
  custom: {
    50: '#544866',
    500: '#16052d',
    950: '#000000',
  },
}
SCSS
$custom: #16052d;
$custom-light: #544866;
$custom-dark: #000000;
JSON
{
  "hex": "#16052d",
  "rgb": {
    "r": 22,
    "g": 5,
    "b": 45
  },
  "hsl": {
    "h": 265.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17655,
    "c": 0.0764,
    "h": 298
  },
  "luminance": 0.00469
}

Semantic roles & 50–950 ramp

primary
#16052D
secondary
#4D6F1F
accent
#F631A3
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #16052D

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

Preview Lab → · Contrast checker → · Palette generator →

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