#5522A6#5522A6

#5522A6 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.193 H 293.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#5522A6
RGBrgb(85, 34, 166)
HSLhsl(263, 66%, 39%)
HSVhsv(263, 80%, 65%)
CMYKcmyk(48.8%, 79.5%, 0%, 34.9%)
CIE-LABlab(28.97, 51.27, -61.52)
CIE-LCHlch(28.97, 80.08, 309.81°)
OKLaboklab(41.11% 0.0767 -0.1766)
OKLCHoklch(41.11% 0.193 293.5)
XYZxyz(11.1994, 5.8282, 36.6039)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5522A6 #73A622
analogous
#2231A6 #5522A6 #9722A6
triadic
#5522A6 #A65522 #22A655
tetradic
#5522A6 #A62231 #73A622 #22A697
square
#5522A6 #A62231 #73A622 #22A697
split-complementary
#5522A6 #A69722 #31A622
monochromatic
#210D40 #3B1873 #5522A6 #7030D5 #9363DF

Accessibility & contrast

On white

9.70
#5522A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5522A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5522A6
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5522A6#FFFFFF#000000##FFFFFF
##5522A61.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#3C4864
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5522a6;
/* rgb */ color: rgb(85, 34, 166);
/* oklch */ color: oklch(41.1% 0.193 293.5);
Tailwind
colors: {
  custom: {
    50: '#8d64c2',
    500: '#5522a6',
    950: '#000000',
  },
}
SCSS
$custom: #5522a6;
$custom-light: #8d64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5522a6",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 263.182,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.19253,
    "h": 293.5
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5522A6

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

Preview Lab → · Contrast checker → · Palette generator →

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