#5525A2#5525A2

#5525A2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.185 H 294.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#5525A2
RGBrgb(85, 37, 162)
HSLhsl(263, 63%, 39%)
HSVhsv(263, 77%, 64%)
CMYKcmyk(47.5%, 77.2%, 0%, 36.5%)
CIE-LABlab(29.06, 48.89, -58.96)
CIE-LCHlch(29.06, 76.59, 309.67°)
OKLaboklab(41.06% 0.0756 -0.1691)
OKLCHoklch(41.06% 0.185 294.1)
XYZxyz(10.9277, 5.8627, 34.7313)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525A2 #72A225
analogous
#2534A2 #5525A2 #9425A2
triadic
#5525A2 #A25525 #25A255
tetradic
#5525A2 #A22534 #72A225 #25A294
square
#5525A2 #A22534 #72A225 #25A294
split-complementary
#5525A2 #A29425 #34A225
monochromatic
#210E3E #3B1A70 #5525A2 #7034D1 #9365DC

Accessibility & contrast

On white

9.67
#5525A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5525A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525A2
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525A2#FFFFFF#000000##FFFFFF
##5525A21.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#3E4762
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5525a2;
/* rgb */ color: rgb(85, 37, 162);
/* oklch */ color: oklch(41.1% 0.185 294.1);
Tailwind
colors: {
  custom: {
    50: '#8d65bf',
    500: '#5525a2',
    950: '#000000',
  },
}
SCSS
$custom: #5525a2;
$custom-light: #8d65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5525a2",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 263.04,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41057,
    "c": 0.1852,
    "h": 294.1
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#5525A2
secondary
#9DC261
accent
#E642A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5525A2

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

Preview Lab → · Contrast checker → · Palette generator →

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