#5529A2#5529A2

#5529A2 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.181 H 293.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#5529A2
RGBrgb(85, 41, 162)
HSLhsl(262, 60%, 40%)
HSVhsv(262, 75%, 64%)
CMYKcmyk(47.5%, 74.7%, 0%, 36.5%)
CIE-LABlab(29.73, 47.00, -57.87)
CIE-LCHlch(29.73, 74.55, 309.08°)
OKLaboklab(41.52% 0.0721 -0.1659)
OKLCHoklch(41.52% 0.181 293.5)
XYZxyz(11.0590, 6.1255, 34.7751)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5529A2 #76A229
analogous
#293AA2 #5529A2 #9129A2
triadic
#5529A2 #A25529 #29A255
tetradic
#5529A2 #A2293A #76A229 #29A291
square
#5529A2 #A2293A #76A229 #29A291
split-complementary
#5529A2 #A29129 #3AA229
monochromatic
#221040 #3B1D71 #5529A2 #703BCD #946CDA

Accessibility & contrast

On white

9.44
#5529A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5529A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5529A2
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5529A2#FFFFFF#000000##FFFFFF
##5529A21.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#3E4963
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5529a2;
/* rgb */ color: rgb(85, 41, 162);
/* oklch */ color: oklch(41.5% 0.181 293.5);
Tailwind
colors: {
  custom: {
    50: '#8c67bf',
    500: '#5529a2',
    950: '#000000',
  },
}
SCSS
$custom: #5529a2;
$custom-light: #8c67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5529a2",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 261.818,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41523,
    "c": 0.18093,
    "h": 293.5
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#5529A2
secondary
#A0C067
accent
#E345A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5529A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5529A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva