#5528A2#5528A2

#5528A2 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.182 H 293.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5528A2
RGBrgb(85, 40, 162)
HSLhsl(262, 60%, 40%)
HSVhsv(262, 75%, 64%)
CMYKcmyk(47.5%, 75.3%, 0%, 36.5%)
CIE-LABlab(29.56, 47.48, -58.15)
CIE-LCHlch(29.56, 75.07, 309.23°)
OKLaboklab(41.4% 0.073 -0.1667)
OKLCHoklch(41.4% 0.182 293.6)
XYZxyz(11.0249, 6.0572, 34.7637)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5528A2 #75A228
analogous
#2838A2 #5528A2 #9228A2
triadic
#5528A2 #A25528 #28A255
tetradic
#5528A2 #A22838 #75A228 #28A292
square
#5528A2 #A22838 #75A228 #28A292
split-complementary
#5528A2 #A29228 #38A228
monochromatic
#211040 #3B1C71 #5528A2 #7039CE #936ADA

Accessibility & contrast

On white

9.50
#5528A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5528A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5528A2
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5528A2#FFFFFF#000000##FFFFFF
##5528A21.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#3E4963
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5528a2;
/* rgb */ color: rgb(85, 40, 162);
/* oklch */ color: oklch(41.4% 0.182 293.6);
Tailwind
colors: {
  custom: {
    50: '#8d67bf',
    500: '#5528a2',
    950: '#000000',
  },
}
SCSS
$custom: #5528a2;
$custom-light: #8d67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5528a2",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 262.131,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.18203,
    "h": 293.6
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#5528A2
secondary
#9FC165
accent
#E444A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5528A2

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

Preview Lab → · Contrast checker → · Palette generator →

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