#5522AF#5522AF

#5522AF is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.202 H 291.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5522AF
RGBrgb(85, 34, 175)
HSLhsl(262, 67%, 41%)
HSVhsv(262, 81%, 69%)
CMYKcmyk(51.4%, 80.6%, 0%, 31.4%)
CIE-LABlab(29.84, 53.63, -65.52)
CIE-LCHlch(29.84, 84.67, 309.30°)
OKLaboklab(41.97% 0.0739 -0.1883)
OKLCHoklch(41.97% 0.202 291.4)
XYZxyz(12.0540, 6.1700, 41.1049)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5522AF #7CAF22
analogous
#2235AF #5522AF #9B22AF
triadic
#5522AF #AF5522 #22AF55
tetradic
#5522AF #AF2235 #7CAF22 #22AF9B
square
#5522AF #AF2235 #7CAF22 #22AF9B
split-complementary
#5522AF #AF9B22 #35AF22
monochromatic
#230E49 #3C187C #5522AF #7136D8 #9569E2

Accessibility & contrast

On white

9.40
#5522AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5522AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5522AF
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5522AF#FFFFFF#000000##FFFFFF
##5522AF1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#354B69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5522af;
/* rgb */ color: rgb(85, 34, 175);
/* oklch */ color: oklch(42.0% 0.202 291.4);
Tailwind
colors: {
  custom: {
    50: '#8f64c8',
    500: '#5522af',
    950: '#000000',
  },
}
SCSS
$custom: #5522af;
$custom-light: #8f64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5522af",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 261.702,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41969,
    "c": 0.20224,
    "h": 291.4
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#5522AF
secondary
#A4C865
accent
#EA3DAC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5522AF

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

Preview Lab → · Contrast checker → · Palette generator →

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