#16012B#16012B

#16012B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.083 H 302.2°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#16012B
RGBrgb(22, 1, 43)
HSLhsl(270, 95%, 9%)
HSVhsv(270, 98%, 17%)
CMYKcmyk(48.8%, 97.7%, 0%, 83.1%)
CIE-LABlab(3.31, 17.58, -22.11)
CIE-LCHlch(3.31, 28.25, 308.49°)
OKLaboklab(16.53% 0.0442 -0.0702)
OKLCHoklch(16.53% 0.083 302.2)
XYZxyz(0.7777, 0.3667, 2.3148)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16012B #162B01
analogous
#01012B #16012B #2B012B
triadic
#16012B #2B1601 #012B16
tetradic
#16012B #2B0101 #162B01 #012B2B
square
#16012B #2B0101 #162B01 #012B2B
split-complementary
#16012B #2B2B01 #012B01
monochromatic
#0F011E #0F011E #16012B #350267 #5304A3

Accessibility & contrast

On white

19.56
#16012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#16012B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16012B
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16012B#FFFFFF#000000##FFFFFF
##16012B1.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#000C2A
Tritanopia (blue-blind)
#110B15
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #16012b;
/* rgb */ color: rgb(22, 1, 43);
/* oklch */ color: oklch(16.5% 0.083 302.2);
Tailwind
colors: {
  custom: {
    50: '#544664',
    500: '#16012b',
    950: '#000000',
  },
}
SCSS
$custom: #16012b;
$custom-light: #544664;
$custom-dark: #000000;
JSON
{
  "hex": "#16012b",
  "rgb": {
    "r": 22,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 270,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.16529,
    "c": 0.083,
    "h": 302.2
  },
  "luminance": 0.00367
}

Semantic roles & 50–950 ramp

primary
#16012B
secondary
#447117
accent
#FF2994
background
#F4F3F6
surface
#E8E5EB
border
#C4C1C6
text
#030005
muted
#78777A

Preview Lab

Preview with #16012B

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

Preview Lab → · Contrast checker → · Palette generator →

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