#5526A8#5526A8

#5526A8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.191 H 292.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5526A8
RGBrgb(85, 38, 168)
HSLhsl(262, 63%, 40%)
HSVhsv(262, 77%, 66%)
CMYKcmyk(49.4%, 77.4%, 0%, 34.1%)
CIE-LABlab(29.77, 50.04, -61.42)
CIE-LCHlch(29.77, 79.22, 309.17°)
OKLaboklab(41.72% 0.0731 -0.1763)
OKLCHoklch(41.72% 0.191 292.5)
XYZxyz(11.5053, 6.1443, 37.6179)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526A8 #79A826
analogous
#2638A8 #5526A8 #9626A8
triadic
#5526A8 #A85526 #26A855
tetradic
#5526A8 #A82638 #79A826 #26A896
square
#5526A8 #A82638 #79A826 #26A896
split-complementary
#5526A8 #A89626 #38A826
monochromatic
#220F44 #3C1B76 #5526A8 #7039D2 #946BDE

Accessibility & contrast

On white

9.42
#5526A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5526A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526A8
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526A8#FFFFFF#000000##FFFFFF
##5526A81.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#3A4A66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5526a8;
/* rgb */ color: rgb(85, 38, 168);
/* oklch */ color: oklch(41.7% 0.191 292.5);
Tailwind
colors: {
  custom: {
    50: '#8e66c3',
    500: '#5526a8',
    950: '#000000',
  },
}
SCSS
$custom: #5526a8;
$custom-light: #8e66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5526a8",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 261.692,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.19085,
    "h": 292.5
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#5526A8
secondary
#A2C466
accent
#E642AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5526A8

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

Preview Lab → · Contrast checker → · Palette generator →

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