#5526A2#5526A2

#5526A2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.184 H 293.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#5526A2
RGBrgb(85, 38, 162)
HSLhsl(263, 62%, 39%)
HSVhsv(263, 77%, 64%)
CMYKcmyk(47.5%, 76.5%, 0%, 36.5%)
CIE-LABlab(29.22, 48.43, -58.69)
CIE-LCHlch(29.22, 76.09, 309.53°)
OKLaboklab(41.17% 0.0747 -0.1683)
OKLCHoklch(41.17% 0.184 293.9)
XYZxyz(10.9592, 5.9258, 34.7418)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526A2 #73A226
analogous
#2635A2 #5526A2 #9326A2
triadic
#5526A2 #A25526 #26A255
tetradic
#5526A2 #A22635 #73A226 #26A293
square
#5526A2 #A22635 #73A226 #26A293
split-complementary
#5526A2 #A29326 #35A226
monochromatic
#210F3F #3B1A70 #5526A2 #7035D0 #9367DB

Accessibility & contrast

On white

9.61
#5526A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5526A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526A2
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526A2#FFFFFF#000000##FFFFFF
##5526A21.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#3E4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5526a2;
/* rgb */ color: rgb(85, 38, 162);
/* oklch */ color: oklch(41.2% 0.184 293.9);
Tailwind
colors: {
  custom: {
    50: '#8d66bf',
    500: '#5526a2',
    950: '#000000',
  },
}
SCSS
$custom: #5526a2;
$custom-light: #8d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5526a2",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 262.742,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4117,
    "c": 0.18417,
    "h": 293.9
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#5526A2
secondary
#9DC163
accent
#E543A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5526A2

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

Preview Lab → · Contrast checker → · Palette generator →

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