#5522A8#5522A8

#5522A8 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.195 H 293.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5522A8
RGBrgb(85, 34, 168)
HSLhsl(263, 66%, 40%)
HSVhsv(263, 80%, 66%)
CMYKcmyk(49.4%, 79.8%, 0%, 34.1%)
CIE-LABlab(29.16, 51.79, -62.42)
CIE-LCHlch(29.16, 81.11, 309.69°)
OKLaboklab(41.3% 0.0761 -0.1792)
OKLCHoklch(41.3% 0.195 293)
XYZxyz(11.3842, 5.9021, 37.5776)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5522A8 #75A822
analogous
#2232A8 #5522A8 #9822A8
triadic
#5522A8 #A85522 #22A855
tetradic
#5522A8 #A82232 #75A822 #22A898
square
#5522A8 #A82232 #75A822 #22A898
split-complementary
#5522A8 #A89822 #32A822
monochromatic
#210D42 #3B1875 #5522A8 #7032D5 #9365E0

Accessibility & contrast

On white

9.63
#5522A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5522A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5522A8
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5522A8#FFFFFF#000000##FFFFFF
##5522A81.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#3A4865
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5522a8;
/* rgb */ color: rgb(85, 34, 168);
/* oklch */ color: oklch(41.3% 0.195 293.0);
Tailwind
colors: {
  custom: {
    50: '#8e64c3',
    500: '#5522a8',
    950: '#000000',
  },
}
SCSS
$custom: #5522a8;
$custom-light: #8e64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5522a8",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 262.836,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.19469,
    "h": 293
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#5522A8
secondary
#9FC561
accent
#E93FA8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5522A8

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

Preview Lab → · Contrast checker → · Palette generator →

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