#16012A#16012A

#16012A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.082 H 303.1°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#16012A
RGBrgb(22, 1, 42)
HSLhsl(271, 95%, 8%)
HSVhsv(271, 98%, 16%)
CMYKcmyk(47.6%, 97.6%, 0%, 83.5%)
CIE-LABlab(3.25, 17.12, -21.45)
CIE-LCHlch(3.25, 27.44, 308.59°)
OKLaboklab(16.41% 0.0447 -0.0686)
OKLCHoklch(16.41% 0.082 303.1)
XYZxyz(0.7595, 0.3594, 2.2194)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16012A #152A01
analogous
#02012A #16012A #2A0129
triadic
#16012A #2A1601 #012A16
tetradic
#16012A #2A0201 #152A01 #01292A
square
#16012A #2A0201 #152A01 #01292A
split-complementary
#16012A #292A01 #012A02
monochromatic
#10011E #10011E #16012A #350266 #5504A2

Accessibility & contrast

On white

19.59
#16012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16012A
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16012A#FFFFFF#000000##FFFFFF
##16012A1.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#120A15
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #16012a;
/* rgb */ color: rgb(22, 1, 42);
/* oklch */ color: oklch(16.4% 0.082 303.1);
Tailwind
colors: {
  custom: {
    50: '#534664',
    500: '#16012a',
    950: '#000000',
  },
}
SCSS
$custom: #16012a;
$custom-light: #534664;
$custom-dark: #000000;
JSON
{
  "hex": "#16012a",
  "rgb": {
    "r": 22,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 270.732,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16412,
    "c": 0.08187,
    "h": 303.1
  },
  "luminance": 0.00359
}

Semantic roles & 50–950 ramp

primary
#16012A
secondary
#427016
accent
#FF2991
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #16012A

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

Preview Lab → · Contrast checker → · Palette generator →

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