#22164C#22164C

#22164C is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.095 H 287.8°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#22164C
RGBrgb(34, 22, 76)
HSLhsl(253, 55%, 19%)
HSVhsv(253, 71%, 30%)
CMYKcmyk(55.3%, 71.1%, 0%, 70.2%)
CIE-LABlab(12.19, 22.06, -31.49)
CIE-LCHlch(12.19, 38.45, 305.01°)
OKLaboklab(25.25% 0.029 -0.0903)
OKLCHoklch(25.25% 0.095 287.8)
XYZxyz(2.2507, 1.4356, 6.9946)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22164C #404C16
analogous
#16254C #22164C #3D164C
triadic
#22164C #4C2216 #164C22
tetradic
#22164C #4C1625 #404C16 #164C3D
square
#22164C #4C1625 #404C16 #164C3D
split-complementary
#22164C #4C3D16 #254C16
monochromatic
#0B0718 #0D081D #22164C #37247B #4C31AB

Accessibility & contrast

On white

16.31
#22164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22164C
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22164C#FFFFFF#000000##FFFFFF
##22164C1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#13232E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #22164c;
/* rgb */ color: rgb(34, 22, 76);
/* oklch */ color: oklch(25.2% 0.095 287.8);
Tailwind
colors: {
  custom: {
    50: '#62547f',
    500: '#22164c',
    950: '#000000',
  },
}
SCSS
$custom: #22164c;
$custom-light: #62547f;
$custom-dark: #000000;
JSON
{
  "hex": "#22164c",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 253.333,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25246,
    "c": 0.09482,
    "h": 287.8
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#22164C
secondary
#73843A
accent
#DE49BD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #22164C

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

Preview Lab → · Contrast checker → · Palette generator →

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