#221164#221164

#221164 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.134 H 282.0°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#221164
RGBrgb(34, 17, 100)
HSLhsl(252, 71%, 23%)
HSVhsv(252, 83%, 39%)
CMYKcmyk(66%, 83%, 0%, 60.8%)
CIE-LABlab(13.60, 33.20, -45.41)
CIE-LCHlch(13.60, 56.25, 306.17°)
OKLaboklab(27% 0.0279 -0.131)
OKLCHoklch(27% 0.134 282)
XYZxyz(3.1597, 1.6609, 12.2082)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221164 #536411
analogous
#112964 #221164 #4B1164
triadic
#221164 #642211 #116422
tetradic
#221164 #641129 #536411 #11644B
square
#221164 #641129 #536411 #11644B
split-complementary
#221164 #644B11 #296411
monochromatic
#09041A #100830 #221164 #341A98 #4623CD

Accessibility & contrast

On white

15.76
#221164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#221164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221164
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221164#FFFFFF#000000##FFFFFF
##2211641.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #221164;
/* rgb */ color: rgb(34, 17, 100);
/* oklch */ color: oklch(27.0% 0.134 282.0);
Tailwind
colors: {
  custom: {
    50: '#675291',
    500: '#221164',
    950: '#000000',
  },
}
SCSS
$custom: #221164;
$custom-light: #675291;
$custom-dark: #000000;
JSON
{
  "hex": "#221164",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 252.289,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27,
    "c": 0.13395,
    "h": 282
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#221164
secondary
#879C35
accent
#EE3AC9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221164

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

Preview Lab → · Contrast checker → · Palette generator →

#221164 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva