#16102F#16102F

#16102F is a very dark, muted violet. Relative luminance 0.007; OKLCH L 20.1% C 0.060 H 288.8°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#16102F
RGBrgb(22, 16, 47)
HSLhsl(252, 49%, 12%)
HSVhsv(252, 66%, 18%)
CMYKcmyk(53.2%, 66%, 0%, 81.6%)
CIE-LABlab(6.74, 12.59, -19.67)
CIE-LCHlch(6.74, 23.35, 302.61°)
OKLaboklab(20.07% 0.0192 -0.0563)
OKLCHoklch(20.07% 0.06 288.8)
XYZxyz(1.0291, 0.7464, 2.7786)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16102F #292F10
analogous
#101A2F #16102F #26102F
triadic
#16102F #2F1610 #102F16
tetradic
#16102F #2F101A #292F10 #102F26
square
#16102F #2F101A #292F10 #102F26
split-complementary
#16102F #2F2610 #1A2F10
monochromatic
#0B0817 #0B0817 #16102F #2B205D #412F8A

Accessibility & contrast

On white

18.27
#16102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#16102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16102F
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16102F#FFFFFF#000000##FFFFFF
##16102F1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#0F171D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #16102f;
/* rgb */ color: rgb(22, 16, 47);
/* oklch */ color: oklch(20.1% 0.060 288.8);
Tailwind
colors: {
  custom: {
    50: '#554e68',
    500: '#16102f',
    950: '#000000',
  },
}
SCSS
$custom: #16102f;
$custom-light: #554e68;
$custom-dark: #000000;
JSON
{
  "hex": "#16102f",
  "rgb": {
    "r": 22,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 251.613,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20073,
    "c": 0.05951,
    "h": 288.8
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#16102F
secondary
#5E6833
accent
#D94FBE
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #16102F

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

Preview Lab → · Contrast checker → · Palette generator →

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