#5526A7#5526A7

#5526A7 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.190 H 292.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#5526A7
RGBrgb(85, 38, 167)
HSLhsl(262, 63%, 40%)
HSVhsv(262, 77%, 65%)
CMYKcmyk(49.1%, 77.2%, 0%, 34.5%)
CIE-LABlab(29.68, 49.77, -60.97)
CIE-LCHlch(29.68, 78.70, 309.23°)
OKLaboklab(41.63% 0.0734 -0.175)
OKLCHoklch(41.63% 0.19 292.7)
XYZxyz(11.4125, 6.1071, 37.1292)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526A7 #78A726
analogous
#2638A7 #5526A7 #9526A7
triadic
#5526A7 #A75526 #26A755
tetradic
#5526A7 #A72638 #78A726 #26A795
square
#5526A7 #A72638 #78A726 #26A795
split-complementary
#5526A7 #A79526 #38A726
monochromatic
#220F43 #3C1B75 #5526A7 #7038D2 #946ADD

Accessibility & contrast

On white

9.45
#5526A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5526A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526A7
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526A7#FFFFFF#000000##FFFFFF
##5526A71.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#3B4A65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5526a7;
/* rgb */ color: rgb(85, 38, 167);
/* oklch */ color: oklch(41.6% 0.190 292.7);
Tailwind
colors: {
  custom: {
    50: '#8d66c2',
    500: '#5526a7',
    950: '#000000',
  },
}
SCSS
$custom: #5526a7;
$custom-light: #8d66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5526a7",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 261.86,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4163,
    "c": 0.18973,
    "h": 292.7
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#5526A7
secondary
#A1C365
accent
#E642AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5526A7

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

Preview Lab → · Contrast checker → · Palette generator →

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