#5522A5#5522A5

#5522A5 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.191 H 293.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#5522A5
RGBrgb(85, 34, 165)
HSLhsl(263, 66%, 39%)
HSVhsv(263, 79%, 65%)
CMYKcmyk(48.5%, 79.4%, 0%, 35.3%)
CIE-LABlab(28.88, 51.01, -61.07)
CIE-LCHlch(28.88, 79.57, 309.87°)
OKLaboklab(41.01% 0.0771 -0.1753)
OKLCHoklch(41.01% 0.191 293.7)
XYZxyz(11.1080, 5.7916, 36.1226)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5522A5 #72A522
analogous
#2231A5 #5522A5 #9722A5
triadic
#5522A5 #A55522 #22A555
tetradic
#5522A5 #A52231 #72A522 #22A597
square
#5522A5 #A52231 #72A522 #22A597
split-complementary
#5522A5 #A59722 #31A522
monochromatic
#210D40 #3B1872 #5522A5 #7030D4 #9363DF

Accessibility & contrast

On white

9.73
#5522A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5522A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5522A5
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5522A5#FFFFFF#000000##FFFFFF
##5522A51.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#3C4763
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5522a5;
/* rgb */ color: rgb(85, 34, 165);
/* oklch */ color: oklch(41.0% 0.191 293.7);
Tailwind
colors: {
  custom: {
    50: '#8d64c1',
    500: '#5522a5',
    950: '#000000',
  },
}
SCSS
$custom: #5522a5;
$custom-light: #8d64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5522a5",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 263.359,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41014,
    "c": 0.19145,
    "h": 293.7
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#5522A5
secondary
#9DC45F
accent
#E93FA7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5522A5

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

Preview Lab → · Contrast checker → · Palette generator →

#5522A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva