#5528A5#5528A5

#5528A5 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.185 H 292.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5528A5
RGBrgb(85, 40, 165)
HSLhsl(262, 61%, 40%)
HSVhsv(262, 76%, 65%)
CMYKcmyk(48.5%, 75.8%, 0%, 35.3%)
CIE-LABlab(29.83, 48.30, -59.52)
CIE-LCHlch(29.83, 76.65, 309.06°)
OKLaboklab(41.68% 0.0723 -0.1708)
OKLCHoklch(41.68% 0.185 292.9)
XYZxyz(11.2947, 6.1651, 36.1849)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5528A5 #78A528
analogous
#2839A5 #5528A5 #9428A5
triadic
#5528A5 #A55528 #28A555
tetradic
#5528A5 #A52839 #78A528 #28A594
square
#5528A5 #A52839 #78A528 #28A594
split-complementary
#5528A5 #A59428 #39A528
monochromatic
#221042 #3C1C74 #5528A5 #703BCF #946CDB

Accessibility & contrast

On white

9.40
#5528A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5528A5
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5528A5#FFFFFF#000000##FFFFFF
##5528A51.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#3C4A65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5528a5;
/* rgb */ color: rgb(85, 40, 165);
/* oklch */ color: oklch(41.7% 0.185 292.9);
Tailwind
colors: {
  custom: {
    50: '#8d67c1',
    500: '#5528a5',
    950: '#000000',
  },
}
SCSS
$custom: #5528a5;
$custom-light: #8d67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5528a5",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 261.6,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41675,
    "c": 0.18543,
    "h": 292.9
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#5528A5
secondary
#A1C267
accent
#E444AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5528A5

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

Preview Lab → · Contrast checker → · Palette generator →

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