#22164F#22164F

#22164F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.099 H 286.8°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#22164F
RGBrgb(34, 22, 79)
HSLhsl(253, 56%, 20%)
HSVhsv(253, 72%, 31%)
CMYKcmyk(57%, 72.2%, 0%, 69%)
CIE-LABlab(12.47, 23.10, -33.11)
CIE-LCHlch(12.47, 40.37, 304.91°)
OKLaboklab(25.53% 0.0286 -0.095)
OKLCHoklch(25.53% 0.099 286.8)
XYZxyz(2.3575, 1.4783, 7.5567)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22164F #434F16
analogous
#16264F #22164F #3F164F
triadic
#22164F #4F2216 #164F22
tetradic
#22164F #4F1626 #434F16 #164F3F
square
#22164F #4F1626 #434F16 #164F3F
split-complementary
#22164F #4F3F16 #264F16
monochromatic
#0A0718 #0D091F #22164F #37237F #4B31AF

Accessibility & contrast

On white

16.21
#22164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#22164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22164F
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22164F#FFFFFF#000000##FFFFFF
##22164F1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#112430
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #22164f;
/* rgb */ color: rgb(34, 22, 79);
/* oklch */ color: oklch(25.5% 0.099 286.8);
Tailwind
colors: {
  custom: {
    50: '#625481',
    500: '#22164f',
    950: '#000000',
  },
}
SCSS
$custom: #22164f;
$custom-light: #625481;
$custom-dark: #000000;
JSON
{
  "hex": "#22164f",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 252.632,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25533,
    "c": 0.09922,
    "h": 286.8
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#22164F
secondary
#76863A
accent
#E048C0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #22164F

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

Preview Lab → · Contrast checker → · Palette generator →

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