#22164D#22164D

#22164D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.3% C 0.096 H 287.5°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#22164D
RGBrgb(34, 22, 77)
HSLhsl(253, 56%, 19%)
HSVhsv(253, 71%, 30%)
CMYKcmyk(55.8%, 71.4%, 0%, 69.8%)
CIE-LABlab(12.28, 22.41, -32.03)
CIE-LCHlch(12.28, 39.09, 304.98°)
OKLaboklab(25.34% 0.0289 -0.0918)
OKLCHoklch(25.34% 0.096 287.5)
XYZxyz(2.2858, 1.4496, 7.1791)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22164D #414D16
analogous
#16264D #22164D #3E164D
triadic
#22164D #4D2216 #164D22
tetradic
#22164D #4D1626 #414D16 #164D3E
square
#22164D #4D1626 #414D16 #164D3E
split-complementary
#22164D #4D3E16 #264D16
monochromatic
#0B0718 #0D081D #22164D #37247D #4C31AC

Accessibility & contrast

On white

16.28
#22164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#22164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22164D
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22164D#FFFFFF#000000##FFFFFF
##22164D1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#12232F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #22164d;
/* rgb */ color: rgb(34, 22, 77);
/* oklch */ color: oklch(25.3% 0.096 287.5);
Tailwind
colors: {
  custom: {
    50: '#62547f',
    500: '#22164d',
    950: '#000000',
  },
}
SCSS
$custom: #22164d;
$custom-light: #62547f;
$custom-dark: #000000;
JSON
{
  "hex": "#22164d",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 253.091,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25341,
    "c": 0.09629,
    "h": 287.5
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#22164D
secondary
#74853A
accent
#DF49BE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #22164D

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

Preview Lab → · Contrast checker → · Palette generator →

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