#16102A#16102A

#16102A is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.7% C 0.051 H 291.7°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#16102A
RGBrgb(22, 16, 42)
HSLhsl(254, 45%, 11%)
HSVhsv(254, 62%, 16%)
CMYKcmyk(47.6%, 61.9%, 0%, 83.5%)
CIE-LABlab(6.40, 10.55, -16.49)
CIE-LCHlch(6.40, 19.58, 302.62°)
OKLaboklab(19.66% 0.0188 -0.0472)
OKLCHoklch(19.66% 0.051 291.7)
XYZxyz(0.9340, 0.7083, 2.2775)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16102A #242A10
analogous
#10172A #16102A #23102A
triadic
#16102A #2A1610 #102A16
tetradic
#16102A #2A1017 #242A10 #102A23
square
#16102A #2A1017 #242A10 #102A23
split-complementary
#16102A #2A2310 #172A10
monochromatic
#0C0816 #0C0816 #16102A #2D2156 #443283

Accessibility & contrast

On white

18.40
#16102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16102A
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16102A#FFFFFF#000000##FFFFFF
##16102A1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06152B
Deuteranopia (green-blind)
#071429
Tritanopia (blue-blind)
#11151B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #16102a;
/* rgb */ color: rgb(22, 16, 42);
/* oklch */ color: oklch(19.7% 0.051 291.7);
Tailwind
colors: {
  custom: {
    50: '#544e63',
    500: '#16102a',
    950: '#000000',
  },
}
SCSS
$custom: #16102a;
$custom-light: #544e63;
$custom-dark: #000000;
JSON
{
  "hex": "#16102a",
  "rgb": {
    "r": 22,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 253.846,
    "s": 44.828,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19655,
    "c": 0.05083,
    "h": 291.7
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#16102A
secondary
#586233
accent
#D553B7
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #16102A

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

Preview Lab → · Contrast checker → · Palette generator →

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