#5528AC#5528AC

#5528AC is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.193 H 291.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5528AC
RGBrgb(85, 40, 172)
HSLhsl(260, 62%, 42%)
HSVhsv(260, 77%, 67%)
CMYKcmyk(50.6%, 76.7%, 0%, 32.5%)
CIE-LABlab(30.47, 50.20, -62.69)
CIE-LCHlch(30.47, 80.31, 308.69°)
OKLaboklab(42.32% 0.0704 -0.18)
OKLCHoklch(42.32% 0.193 291.3)
XYZxyz(11.9494, 6.4270, 39.6326)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5528AC #7FAC28
analogous
#283DAC #5528AC #9728AC
triadic
#5528AC #AC5528 #28AC55
tetradic
#5528AC #AC283D #7FAC28 #28AC97
square
#5528AC #AC283D #7FAC28 #28AC97
split-complementary
#5528AC #AC9728 #3DAC28
monochromatic
#241149 #3C1C7A #5528AC #713FD2 #9671DE

Accessibility & contrast

On white

9.19
#5528AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5528AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5528AC
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5528AC#FFFFFF#000000##FFFFFF
##5528AC1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#374D69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5528ac;
/* rgb */ color: rgb(85, 40, 172);
/* oklch */ color: oklch(42.3% 0.193 291.3);
Tailwind
colors: {
  custom: {
    50: '#8e67c6',
    500: '#5528ac',
    950: '#000000',
  },
}
SCSS
$custom: #5528ac;
$custom-light: #8e67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5528ac",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 260.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4232,
    "c": 0.1933,
    "h": 291.3
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#5528AC
secondary
#A6C56B
accent
#E542AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5528AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5528AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva