#16012C#16012C

#16012C is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.084 H 301.3°. Best body text is #FFFFFF at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#16012C
RGBrgb(22, 1, 44)
HSLhsl(269, 96%, 9%)
HSVhsv(269, 98%, 17%)
CMYKcmyk(50%, 97.7%, 0%, 82.7%)
CIE-LABlab(3.38, 18.05, -22.76)
CIE-LCHlch(3.38, 29.05, 308.41°)
OKLaboklab(16.65% 0.0437 -0.0719)
OKLCHoklch(16.65% 0.084 301.3)
XYZxyz(0.7962, 0.3741, 2.4126)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16012C #172C01
analogous
#01022C #16012C #2C012C
triadic
#16012C #2C1601 #012C16
tetradic
#16012C #2C0102 #172C01 #012C2C
square
#16012C #2C0102 #172C01 #012C2C
split-complementary
#16012C #2C2C01 #022C01
monochromatic
#0F011E #0F011E #16012C #340268 #5204A4

Accessibility & contrast

On white

19.54
#16012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16012C
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16012C#FFFFFF#000000##FFFFFF
##16012C1.0019.541.0719.54
#FFFFFF19.541.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2D
Deuteranopia (green-blind)
#000C2B
Tritanopia (blue-blind)
#110B16
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #16012c;
/* rgb */ color: rgb(22, 1, 44);
/* oklch */ color: oklch(16.6% 0.084 301.3);
Tailwind
colors: {
  custom: {
    50: '#544665',
    500: '#16012c',
    950: '#000000',
  },
}
SCSS
$custom: #16012c;
$custom-light: #544665;
$custom-dark: #000000;
JSON
{
  "hex": "#16012c",
  "rgb": {
    "r": 22,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 269.302,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.16648,
    "c": 0.08414,
    "h": 301.3
  },
  "luminance": 0.00374
}

Semantic roles & 50–950 ramp

primary
#16012C
secondary
#457217
accent
#FF2996
background
#F4F3F6
surface
#E8E5EB
border
#C4C1C6
text
#030005
muted
#78777A

Preview Lab

Preview with #16012C

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

Preview Lab → · Contrast checker → · Palette generator →

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