#5525A3#5525A3

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

Color values

HEX#5525A3
RGBrgb(85, 37, 163)
HSLhsl(263, 63%, 39%)
HSVhsv(263, 77%, 64%)
CMYKcmyk(47.9%, 77.3%, 0%, 36.1%)
CIE-LABlab(29.15, 49.15, -59.41)
CIE-LCHlch(29.15, 77.11, 309.60°)
OKLaboklab(41.15% 0.0753 -0.1704)
OKLCHoklch(41.15% 0.186 293.8)
XYZxyz(11.0169, 5.8984, 35.2013)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525A3 #73A325
analogous
#2534A3 #5525A3 #9425A3
triadic
#5525A3 #A35525 #25A355
tetradic
#5525A3 #A32534 #73A325 #25A394
square
#5525A3 #A32534 #73A325 #25A394
split-complementary
#5525A3 #A39425 #34A325
monochromatic
#210E3F #3B1A71 #5525A3 #7034D1 #9366DC

Accessibility & contrast

On white

9.63
#5525A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5525A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525A3
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525A3#FFFFFF#000000##FFFFFF
##5525A31.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#3D4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5525a3;
/* rgb */ color: rgb(85, 37, 163);
/* oklch */ color: oklch(41.1% 0.186 293.8);
Tailwind
colors: {
  custom: {
    50: '#8d65bf',
    500: '#5525a3',
    950: '#000000',
  },
}
SCSS
$custom: #5525a3;
$custom-light: #8d65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5525a3",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 262.857,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41149,
    "c": 0.18631,
    "h": 293.8
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5525A3

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

Preview Lab → · Contrast checker → · Palette generator →

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