#5528A4#5528A4

#5528A4 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.184 H 293.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#5528A4
RGBrgb(85, 40, 164)
HSLhsl(262, 61%, 40%)
HSVhsv(262, 76%, 64%)
CMYKcmyk(48.2%, 75.6%, 0%, 35.7%)
CIE-LABlab(29.74, 48.03, -59.07)
CIE-LCHlch(29.74, 76.13, 309.11°)
OKLaboklab(41.58% 0.0725 -0.1694)
OKLCHoklch(41.58% 0.184 293.2)
XYZxyz(11.2041, 6.1288, 35.7074)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5528A4 #77A428
analogous
#2839A4 #5528A4 #9328A4
triadic
#5528A4 #A45528 #28A455
tetradic
#5528A4 #A42839 #77A428 #28A493
square
#5528A4 #A42839 #77A428 #28A493
split-complementary
#5528A4 #A49328 #39A428
monochromatic
#221042 #3B1C73 #5528A4 #703ACF #946BDB

Accessibility & contrast

On white

9.43
#5528A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5528A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5528A4
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5528A4#FFFFFF#000000##FFFFFF
##5528A41.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#3D4964
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5528a4;
/* rgb */ color: rgb(85, 40, 164);
/* oklch */ color: oklch(41.6% 0.184 293.2);
Tailwind
colors: {
  custom: {
    50: '#8d67c0',
    500: '#5528a4',
    950: '#000000',
  },
}
SCSS
$custom: #5528a4;
$custom-light: #8d67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5528a4",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 261.774,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.18429,
    "h": 293.2
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#5528A4
secondary
#A0C166
accent
#E444AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5528A4

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

Preview Lab → · Contrast checker → · Palette generator →

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