#5526A1#5526A1

#5526A1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.183 H 294.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#5526A1
RGBrgb(85, 38, 161)
HSLhsl(263, 62%, 39%)
HSVhsv(263, 76%, 63%)
CMYKcmyk(47.2%, 76.4%, 0%, 36.9%)
CIE-LABlab(29.13, 48.16, -58.23)
CIE-LCHlch(29.13, 75.57, 309.59°)
OKLaboklab(41.08% 0.075 -0.167)
OKLCHoklch(41.08% 0.183 294.2)
XYZxyz(10.8707, 5.8904, 34.2755)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526A1 #72A126
analogous
#2635A1 #5526A1 #9326A1
triadic
#5526A1 #A15526 #26A155
tetradic
#5526A1 #A12635 #72A126 #26A193
square
#5526A1 #A12635 #72A126 #26A193
split-complementary
#5526A1 #A19326 #35A126
monochromatic
#210F3E #3B1A6F #5526A1 #7035CF #9366DB

Accessibility & contrast

On white

9.64
#5526A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5526A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526A1
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526A1#FFFFFF#000000##FFFFFF
##5526A11.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#3E4762
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5526a1;
/* rgb */ color: rgb(85, 38, 161);
/* oklch */ color: oklch(41.1% 0.183 294.2);
Tailwind
colors: {
  custom: {
    50: '#8d66be',
    500: '#5526a1',
    950: '#000000',
  },
}
SCSS
$custom: #5526a1;
$custom-light: #8d66be;
$custom-dark: #000000;
JSON
{
  "hex": "#5526a1",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 262.927,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41079,
    "c": 0.18305,
    "h": 294.2
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#5526A1
secondary
#9DC162
accent
#E543A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5526A1

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

Preview Lab → · Contrast checker → · Palette generator →

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