#5525AE#5525AE

#5525AE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.198 H 291.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#5525AE
RGBrgb(85, 37, 174)
HSLhsl(261, 65%, 41%)
HSVhsv(261, 79%, 68%)
CMYKcmyk(51.1%, 78.7%, 0%, 31.8%)
CIE-LABlab(30.18, 52.09, -64.35)
CIE-LCHlch(30.18, 82.79, 308.99°)
OKLaboklab(42.18% 0.0721 -0.1849)
OKLCHoklch(42.18% 0.198 291.3)
XYZxyz(12.0457, 6.3099, 40.6194)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525AE #7EAE25
analogous
#253AAE #5525AE #9A25AE
triadic
#5525AE #AE5525 #25AE55
tetradic
#5525AE #AE253A #7EAE25 #25AE9A
square
#5525AE #AE253A #7EAE25 #25AE9A
split-complementary
#5525AE #AE9A25 #3AAE25
monochromatic
#241049 #3C1A7C #5525AE #713BD5 #966DE0

Accessibility & contrast

On white

9.28
#5525AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5525AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525AE
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525AE#FFFFFF#000000##FFFFFF
##5525AE1.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)
#0049B2
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#364C69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5525ae;
/* rgb */ color: rgb(85, 37, 174);
/* oklch */ color: oklch(42.2% 0.198 291.3);
Tailwind
colors: {
  custom: {
    50: '#8e66c7',
    500: '#5525ae',
    950: '#000000',
  },
}
SCSS
$custom: #5525ae;
$custom-light: #8e66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5525ae",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 261.022,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.19844,
    "h": 291.3
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#5525AE
secondary
#A5C668
accent
#E840AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5525AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5525AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva