#5525A5#5525A5

#5525A5 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.189 H 293.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#5525A5
RGBrgb(85, 37, 165)
HSLhsl(263, 63%, 40%)
HSVhsv(263, 78%, 65%)
CMYKcmyk(48.5%, 77.6%, 0%, 35.3%)
CIE-LABlab(29.34, 49.69, -60.32)
CIE-LCHlch(29.34, 78.15, 309.48°)
OKLaboklab(41.33% 0.0747 -0.1731)
OKLCHoklch(41.33% 0.189 293.4)
XYZxyz(11.1975, 5.9707, 36.1525)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525A5 #75A525
analogous
#2535A5 #5525A5 #9525A5
triadic
#5525A5 #A55525 #25A555
tetradic
#5525A5 #A52535 #75A525 #25A595
square
#5525A5 #A52535 #75A525 #25A595
split-complementary
#5525A5 #A59525 #35A525
monochromatic
#210F41 #3B1A73 #5525A5 #7035D2 #9367DD

Accessibility & contrast

On white

9.57
#5525A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5525A5
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525A5#FFFFFF#000000##FFFFFF
##5525A51.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#3C4864
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5525a5;
/* rgb */ color: rgb(85, 37, 165);
/* oklch */ color: oklch(41.3% 0.189 293.4);
Tailwind
colors: {
  custom: {
    50: '#8d65c1',
    500: '#5525a5',
    950: '#000000',
  },
}
SCSS
$custom: #5525a5;
$custom-light: #8d65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5525a5",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 262.5,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41334,
    "c": 0.18852,
    "h": 293.4
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#5525A5
secondary
#9FC363
accent
#E641A9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5525A5

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

Preview Lab → · Contrast checker → · Palette generator →

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