#5532A2#5532A2

#5532A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.170 H 291.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#5532A2
RGBrgb(85, 50, 162)
HSLhsl(259, 53%, 42%)
HSVhsv(259, 69%, 64%)
CMYKcmyk(47.5%, 69.1%, 0%, 36.5%)
CIE-LABlab(31.40, 42.34, -55.15)
CIE-LCHlch(31.40, 69.52, 307.52°)
OKLaboklab(42.71% 0.0636 -0.158)
OKLCHoklch(42.71% 0.17 291.9)
XYZxyz(11.4067, 6.8207, 34.8909)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5532A2 #7FA232
analogous
#3247A2 #5532A2 #8D32A2
triadic
#5532A2 #A25532 #32A255
tetradic
#5532A2 #A23247 #7FA232 #32A28D
square
#5532A2 #A23247 #7FA232 #32A28D
split-complementary
#5532A2 #A28D32 #47A232
monochromatic
#241544 #3C2473 #5532A2 #714AC7 #9679D6

Accessibility & contrast

On white

8.88
#5532A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5532A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5532A2
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5532A2#FFFFFF#000000##FFFFFF
##5532A21.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#3D4E66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5532a2;
/* rgb */ color: rgb(85, 50, 162);
/* oklch */ color: oklch(42.7% 0.170 291.9);
Tailwind
colors: {
  custom: {
    50: '#8c6cbe',
    500: '#5532a2',
    950: '#000000',
  },
}
SCSS
$custom: #5532a2;
$custom-light: #8c6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5532a2",
  "rgb": {
    "r": 85,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 258.75,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42709,
    "c": 0.17029,
    "h": 291.9
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#5532A2
secondary
#A6BE72
accent
#DC4CAF
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5532A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5532A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva