#5526A3#5526A3

#5526A3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.185 H 293.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#5526A3
RGBrgb(85, 38, 163)
HSLhsl(263, 62%, 39%)
HSVhsv(263, 77%, 64%)
CMYKcmyk(47.9%, 76.7%, 0%, 36.1%)
CIE-LABlab(29.32, 48.70, -59.15)
CIE-LCHlch(29.32, 76.62, 309.46°)
OKLaboklab(41.26% 0.0745 -0.1697)
OKLCHoklch(41.26% 0.185 293.7)
XYZxyz(11.0485, 5.9615, 35.2118)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526A3 #74A326
analogous
#2636A3 #5526A3 #9426A3
triadic
#5526A3 #A35526 #26A355
tetradic
#5526A3 #A32636 #74A326 #26A394
square
#5526A3 #A32636 #74A326 #26A394
split-complementary
#5526A3 #A39426 #36A326
monochromatic
#210F40 #3B1A71 #5526A3 #7036D0 #9368DC

Accessibility & contrast

On white

9.58
#5526A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5526A3
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526A3#FFFFFF#000000##FFFFFF
##5526A31.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#3D4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5526a3;
/* rgb */ color: rgb(85, 38, 163);
/* oklch */ color: oklch(41.3% 0.185 293.7);
Tailwind
colors: {
  custom: {
    50: '#8d66bf',
    500: '#5526a3',
    950: '#000000',
  },
}
SCSS
$custom: #5526a3;
$custom-light: #8d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5526a3",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 262.56,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.18528,
    "h": 293.7
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5526A3

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

Preview Lab → · Contrast checker → · Palette generator →

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