#16102C#16102C

#16102C is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.8% C 0.054 H 290.4°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#16102C
RGBrgb(22, 16, 44)
HSLhsl(253, 47%, 12%)
HSVhsv(253, 64%, 17%)
CMYKcmyk(50%, 63.6%, 0%, 82.7%)
CIE-LABlab(6.53, 11.37, -17.78)
CIE-LCHlch(6.53, 21.10, 302.59°)
OKLaboklab(19.82% 0.019 -0.0509)
OKLCHoklch(19.82% 0.054 290.4)
XYZxyz(0.9707, 0.7230, 2.4708)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16102C #262C10
analogous
#10182C #16102C #24102C
triadic
#16102C #2C1610 #102C16
tetradic
#16102C #2C1018 #262C10 #102C24
square
#16102C #2C1018 #262C10 #102C24
split-complementary
#16102C #2C2410 #182C10
monochromatic
#0B0816 #0B0816 #16102C #2C2059 #433186

Accessibility & contrast

On white

18.35
#16102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#16102C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16102C
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16102C#FFFFFF#000000##FFFFFF
##16102C1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152D
Deuteranopia (green-blind)
#05142B
Tritanopia (blue-blind)
#10161B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #16102c;
/* rgb */ color: rgb(22, 16, 44);
/* oklch */ color: oklch(19.8% 0.054 290.4);
Tailwind
colors: {
  custom: {
    50: '#544e65',
    500: '#16102c',
    950: '#000000',
  },
}
SCSS
$custom: #16102c;
$custom-light: #544e65;
$custom-dark: #000000;
JSON
{
  "hex": "#16102c",
  "rgb": {
    "r": 22,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 252.857,
    "s": 46.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19818,
    "c": 0.05434,
    "h": 290.4
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#16102C
secondary
#5A6533
accent
#D651BA
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #16102C

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

Preview Lab → · Contrast checker → · Palette generator →

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