#5525A4#5525A4

#5525A4 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.187 H 293.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#5525A4
RGBrgb(85, 37, 164)
HSLhsl(263, 63%, 39%)
HSVhsv(263, 77%, 64%)
CMYKcmyk(48.2%, 77.4%, 0%, 35.7%)
CIE-LABlab(29.25, 49.42, -59.87)
CIE-LCHlch(29.25, 77.63, 309.54°)
OKLaboklab(41.24% 0.075 -0.1718)
OKLCHoklch(41.24% 0.187 293.6)
XYZxyz(11.1069, 5.9344, 35.6750)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525A4 #74A425
analogous
#2535A4 #5525A4 #9525A4
triadic
#5525A4 #A45525 #25A455
tetradic
#5525A4 #A42535 #74A425 #25A495
square
#5525A4 #A42535 #74A425 #25A495
split-complementary
#5525A4 #A49525 #35A425
monochromatic
#210E40 #3B1A72 #5525A4 #7035D1 #9367DD

Accessibility & contrast

On white

9.60
#5525A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5525A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525A4
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525A4#FFFFFF#000000##FFFFFF
##5525A41.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#3D4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5525a4;
/* rgb */ color: rgb(85, 37, 164);
/* oklch */ color: oklch(41.2% 0.187 293.6);
Tailwind
colors: {
  custom: {
    50: '#8d65c0',
    500: '#5525a4',
    950: '#000000',
  },
}
SCSS
$custom: #5525a4;
$custom-light: #8d65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5525a4",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 262.677,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41241,
    "c": 0.18742,
    "h": 293.6
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#5525A4
secondary
#9EC262
accent
#E642A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5525A4

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

Preview Lab → · Contrast checker → · Palette generator →

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