#5525A9#5525A9

#5525A9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.193 H 292.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#5525A9
RGBrgb(85, 37, 169)
HSLhsl(262, 64%, 40%)
HSVhsv(262, 78%, 66%)
CMYKcmyk(49.7%, 78.1%, 0%, 33.7%)
CIE-LABlab(29.71, 50.76, -62.12)
CIE-LCHlch(29.71, 80.22, 309.25°)
OKLaboklab(41.71% 0.0736 -0.1784)
OKLCHoklch(41.71% 0.193 292.4)
XYZxyz(11.5673, 6.1186, 38.1000)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525A9 #79A925
analogous
#2537A9 #5525A9 #9725A9
triadic
#5525A9 #A95525 #25A955
tetradic
#5525A9 #A92537 #79A925 #25A997
square
#5525A9 #A92537 #79A925 #25A997
split-complementary
#5525A9 #A99725 #37A925
monochromatic
#220F45 #3C1A77 #5525A9 #7038D3 #946ADE

Accessibility & contrast

On white

9.44
#5525A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5525A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525A9
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525A9#FFFFFF#000000##FFFFFF
##5525A91.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#3A4A66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5525a9;
/* rgb */ color: rgb(85, 37, 169);
/* oklch */ color: oklch(41.7% 0.193 292.4);
Tailwind
colors: {
  custom: {
    50: '#8e65c4',
    500: '#5525a9',
    950: '#000000',
  },
}
SCSS
$custom: #5525a9;
$custom-light: #8e65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5525a9",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 261.818,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41706,
    "c": 0.19294,
    "h": 292.4
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#5525A9
secondary
#A2C465
accent
#E741AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5525A9

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

Preview Lab → · Contrast checker → · Palette generator →

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