#5532C2#5532C2

#5532C2 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.208 H 285.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5532C2
RGBrgb(85, 50, 194)
HSLhsl(255, 59%, 48%)
HSVhsv(255, 74%, 76%)
CMYKcmyk(56.2%, 74.2%, 0%, 23.9%)
CIE-LABlab(34.20, 51.51, -69.59)
CIE-LCHlch(34.20, 86.58, 306.51°)
OKLaboklab(45.57% 0.0569 -0.2003)
OKLCHoklch(45.57% 0.208 285.9)
XYZxyz(14.6216, 8.1067, 51.8228)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5532C2 #9FC232
analogous
#3257C2 #5532C2 #9D32C2
triadic
#5532C2 #C25532 #32C255
tetradic
#5532C2 #C23257 #9FC232 #32C29D
square
#5532C2 #C23257 #9FC232 #32C29D
split-complementary
#5532C2 #C29D32 #57C232
monochromatic
#2A1961 #402591 #5532C2 #7A5CD5 #A18DE2

Accessibility & contrast

On white

8.01
#5532C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5532C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5532C2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5532C2#FFFFFF#000000##FFFFFF
##5532C21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#215A78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5532c2;
/* rgb */ color: rgb(85, 50, 194);
/* oklch */ color: oklch(45.6% 0.208 285.9);
Tailwind
colors: {
  custom: {
    50: '#916ed6',
    500: '#5532c2',
    950: '#000000',
  },
}
SCSS
$custom: #5532c2;
$custom-light: #916ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5532c2",
  "rgb": {
    "r": 85,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 254.583,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.20827,
    "h": 285.9
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#5532C2
secondary
#BACC84
accent
#E246BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5532C2

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

Preview Lab → · Contrast checker → · Palette generator →

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