#5526A4#5526A4

#5526A4 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.186 H 293.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#5526A4
RGBrgb(85, 38, 164)
HSLhsl(262, 62%, 40%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(48.2%, 76.8%, 0%, 35.7%)
CIE-LABlab(29.41, 48.96, -59.61)
CIE-LCHlch(29.41, 77.14, 309.40°)
OKLaboklab(41.35% 0.0742 -0.171)
OKLCHoklch(41.35% 0.186 293.5)
XYZxyz(11.1384, 5.9975, 35.6855)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526A4 #75A426
analogous
#2636A4 #5526A4 #9426A4
triadic
#5526A4 #A45526 #26A455
tetradic
#5526A4 #A42636 #75A426 #26A494
square
#5526A4 #A42636 #75A426 #26A494
split-complementary
#5526A4 #A49426 #36A426
monochromatic
#210F41 #3B1A72 #5526A4 #7037D1 #9368DC

Accessibility & contrast

On white

9.55
#5526A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5526A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526A4
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526A4#FFFFFF#000000##FFFFFF
##5526A41.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#3D4964
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5526a4;
/* rgb */ color: rgb(85, 38, 164);
/* oklch */ color: oklch(41.4% 0.186 293.5);
Tailwind
colors: {
  custom: {
    50: '#8d66c0',
    500: '#5526a4',
    950: '#000000',
  },
}
SCSS
$custom: #5526a4;
$custom-light: #8d66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5526a4",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 262.381,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41353,
    "c": 0.18639,
    "h": 293.5
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#5526A4
secondary
#9FC264
accent
#E542A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5526A4

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

Preview Lab → · Contrast checker → · Palette generator →

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