#5528A9#5528A9

#5528A9 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.190 H 292.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#5528A9
RGBrgb(85, 40, 169)
HSLhsl(261, 62%, 41%)
HSVhsv(261, 76%, 66%)
CMYKcmyk(49.7%, 76.3%, 0%, 33.7%)
CIE-LABlab(30.19, 49.38, -61.34)
CIE-LCHlch(30.19, 78.75, 308.84°)
OKLaboklab(42.04% 0.0712 -0.1761)
OKLCHoklch(42.04% 0.19 292)
XYZxyz(11.6645, 6.3130, 38.1324)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5528A9 #7CA928
analogous
#283CA9 #5528A9 #9528A9
triadic
#5528A9 #A95528 #28A955
tetradic
#5528A9 #A9283C #7CA928 #28A995
square
#5528A9 #A9283C #7CA928 #28A995
split-complementary
#5528A9 #A99528 #3CA928
monochromatic
#231146 #3C1C78 #5528A9 #713DD1 #956FDD

Accessibility & contrast

On white

9.28
#5528A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5528A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5528A9
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5528A9#FFFFFF#000000##FFFFFF
##5528A91.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#394B67
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5528a9;
/* rgb */ color: rgb(85, 40, 169);
/* oklch */ color: oklch(42.0% 0.190 292.0);
Tailwind
colors: {
  custom: {
    50: '#8e67c4',
    500: '#5528a9',
    950: '#000000',
  },
}
SCSS
$custom: #5528a9;
$custom-light: #8e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5528a9",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 260.93,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.18994,
    "h": 292
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#5528A9
secondary
#A4C469
accent
#E543AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5528A9

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

Preview Lab → · Contrast checker → · Palette generator →

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