#5532B3#5532B3

#5532B3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.191 H 288.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5532B3
RGBrgb(85, 50, 179)
HSLhsl(256, 56%, 45%)
HSVhsv(256, 72%, 70%)
CMYKcmyk(52.5%, 72.1%, 0%, 29.8%)
CIE-LABlab(32.85, 47.21, -62.96)
CIE-LCHlch(32.85, 78.70, 306.86°)
OKLaboklab(44.19% 0.0604 -0.1809)
OKLCHoklch(44.19% 0.191 288.5)
XYZxyz(13.0212, 7.4666, 43.3942)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5532B3 #90B332
analogous
#3250B3 #5532B3 #9632B3
triadic
#5532B3 #B35532 #32B355
tetradic
#5532B3 #B33250 #90B332 #32B396
square
#5532B3 #B33250 #90B332 #32B396
split-complementary
#5532B3 #B39632 #50B332
monochromatic
#281753 #3E2583 #5532B3 #7553CF #9B83DC

Accessibility & contrast

On white

8.42
#5532B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5532B3
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5532B3#FFFFFF#000000##FFFFFF
##5532B31.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#31546F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5532b3;
/* rgb */ color: rgb(85, 50, 179);
/* oklch */ color: oklch(44.2% 0.191 288.5);
Tailwind
colors: {
  custom: {
    50: '#8e6dcb',
    500: '#5532b3',
    950: '#000000',
  },
}
SCSS
$custom: #5532b3;
$custom-light: #8e6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5532b3",
  "rgb": {
    "r": 85,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 256.279,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44192,
    "c": 0.19072,
    "h": 288.5
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#5532B3
secondary
#B1C67B
accent
#E048B7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5532B3

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

Preview Lab → · Contrast checker → · Palette generator →

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