#5526A6#5526A6

#5526A6 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.189 H 293.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5526A6
RGBrgb(85, 38, 166)
HSLhsl(262, 63%, 40%)
HSVhsv(262, 77%, 65%)
CMYKcmyk(48.8%, 77.1%, 0%, 34.9%)
CIE-LABlab(29.59, 49.50, -60.51)
CIE-LCHlch(29.59, 78.18, 309.28°)
OKLaboklab(41.54% 0.0736 -0.1737)
OKLCHoklch(41.54% 0.189 293)
XYZxyz(11.3204, 6.0703, 36.6442)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526A6 #77A626
analogous
#2637A6 #5526A6 #9526A6
triadic
#5526A6 #A65526 #26A655
tetradic
#5526A6 #A62637 #77A626 #26A695
square
#5526A6 #A62637 #77A626 #26A695
split-complementary
#5526A6 #A69526 #37A626
monochromatic
#220F42 #3B1B74 #5526A6 #7038D1 #946ADD

Accessibility & contrast

On white

9.48
#5526A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5526A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526A6
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526A6#FFFFFF#000000##FFFFFF
##5526A61.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#3B4965
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5526a6;
/* rgb */ color: rgb(85, 38, 166);
/* oklch */ color: oklch(41.5% 0.189 293.0);
Tailwind
colors: {
  custom: {
    50: '#8d66c1',
    500: '#5526a6',
    950: '#000000',
  },
}
SCSS
$custom: #5526a6;
$custom-light: #8d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5526a6",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 262.031,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.18863,
    "h": 293
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#5526A6
secondary
#A0C365
accent
#E642AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5526A6

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

Preview Lab → · Contrast checker → · Palette generator →

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