#22164A#22164A

#22164A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.092 H 288.6°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#22164A
RGBrgb(34, 22, 74)
HSLhsl(254, 54%, 19%)
HSVhsv(254, 70%, 29%)
CMYKcmyk(54.1%, 70.3%, 0%, 71%)
CIE-LABlab(12.01, 21.37, -30.40)
CIE-LCHlch(12.01, 37.16, 305.10°)
OKLaboklab(25.06% 0.0293 -0.0871)
OKLCHoklch(25.06% 0.092 288.6)
XYZxyz(2.1823, 1.4082, 6.6341)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22164A #3E4A16
analogous
#16244A #22164A #3C164A
triadic
#22164A #4A2216 #164A22
tetradic
#22164A #4A1624 #3E4A16 #164A3C
square
#22164A #4A1624 #3E4A16 #164A3C
split-complementary
#22164A #4A3C16 #244A16
monochromatic
#0B0718 #0C081B #22164A #382479 #4D32A8

Accessibility & contrast

On white

16.39
#22164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#22164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22164A
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22164A#FFFFFF#000000##FFFFFF
##22164A1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#14222D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #22164a;
/* rgb */ color: rgb(34, 22, 74);
/* oklch */ color: oklch(25.1% 0.092 288.6);
Tailwind
colors: {
  custom: {
    50: '#61547d',
    500: '#22164a',
    950: '#000000',
  },
}
SCSS
$custom: #22164a;
$custom-light: #61547d;
$custom-dark: #000000;
JSON
{
  "hex": "#22164a",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 253.846,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25059,
    "c": 0.09185,
    "h": 288.6
  },
  "luminance": 0.01408
}

Semantic roles & 50–950 ramp

primary
#22164A
secondary
#71823A
accent
#DE4ABC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #22164A

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

Preview Lab → · Contrast checker → · Palette generator →

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