#5532B2#5532B2

#5532B2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.190 H 288.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5532B2
RGBrgb(85, 50, 178)
HSLhsl(256, 56%, 45%)
HSVhsv(256, 72%, 70%)
CMYKcmyk(52.2%, 71.9%, 0%, 30.2%)
CIE-LABlab(32.76, 46.92, -62.51)
CIE-LCHlch(32.76, 78.17, 306.89°)
OKLaboklab(44.1% 0.0606 -0.1796)
OKLCHoklch(44.1% 0.19 288.6)
XYZxyz(12.9204, 7.4262, 42.8635)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5532B2 #8FB232
analogous
#324FB2 #5532B2 #9532B2
triadic
#5532B2 #B25532 #32B255
tetradic
#5532B2 #B2324F #8FB232 #32B295
square
#5532B2 #B2324F #8FB232 #32B295
split-complementary
#5532B2 #B29532 #4FB232
monochromatic
#271752 #3E2582 #5532B2 #7553CF #9B82DC

Accessibility & contrast

On white

8.45
#5532B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5532B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5532B2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5532B2#FFFFFF#000000##FFFFFF
##5532B21.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#32546F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5532b2;
/* rgb */ color: rgb(85, 50, 178);
/* oklch */ color: oklch(44.1% 0.190 288.6);
Tailwind
colors: {
  custom: {
    50: '#8e6dca',
    500: '#5532b2',
    950: '#000000',
  },
}
SCSS
$custom: #5532b2;
$custom-light: #8e6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#5532b2",
  "rgb": {
    "r": 85,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 256.406,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44102,
    "c": 0.18954,
    "h": 288.6
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#5532B2
secondary
#B1C57B
accent
#DF48B6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5532B2

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

Preview Lab → · Contrast checker → · Palette generator →

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