#5525A0#5525A0

#5525A0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.183 H 294.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#5525A0
RGBrgb(85, 37, 160)
HSLhsl(263, 62%, 39%)
HSVhsv(263, 77%, 63%)
CMYKcmyk(46.9%, 76.9%, 0%, 37.3%)
CIE-LABlab(28.88, 48.35, -58.04)
CIE-LCHlch(28.88, 75.54, 309.80°)
OKLaboklab(40.88% 0.0761 -0.1664)
OKLCHoklch(40.88% 0.183 294.6)
XYZxyz(10.7513, 5.7922, 33.8024)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525A0 #70A025
analogous
#2532A0 #5525A0 #9225A0
triadic
#5525A0 #A05525 #25A055
tetradic
#5525A0 #A02532 #70A025 #25A092
square
#5525A0 #A02532 #70A025 #25A092
split-complementary
#5525A0 #A09225 #32A025
monochromatic
#200E3D #3B1A6E #5525A0 #7032D0 #9364DB

Accessibility & contrast

On white

9.73
#5525A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5525A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525A0
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525A0#FFFFFF#000000##FFFFFF
##5525A01.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#3F4661
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5525a0;
/* rgb */ color: rgb(85, 37, 160);
/* oklch */ color: oklch(40.9% 0.183 294.6);
Tailwind
colors: {
  custom: {
    50: '#8c65bd',
    500: '#5525a0',
    950: '#000000',
  },
}
SCSS
$custom: #5525a0;
$custom-light: #8c65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5525a0",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 263.415,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.18298,
    "h": 294.6
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#5525A0
secondary
#9BC160
accent
#E642A6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5525A0

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

Preview Lab → · Contrast checker → · Palette generator →

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