#5526AE#5526AE

#5526AE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.197 H 291.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#5526AE
RGBrgb(85, 38, 174)
HSLhsl(261, 64%, 42%)
HSVhsv(261, 78%, 68%)
CMYKcmyk(51.1%, 78.2%, 0%, 31.8%)
CIE-LABlab(30.33, 51.65, -64.10)
CIE-LCHlch(30.33, 82.32, 308.86°)
OKLaboklab(42.29% 0.0713 -0.1842)
OKLCHoklch(42.29% 0.197 291.2)
XYZxyz(12.0772, 6.3730, 40.6300)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526AE #7FAE26
analogous
#263BAE #5526AE #9926AE
triadic
#5526AE #AE5526 #26AE55
tetradic
#5526AE #AE263B #7FAE26 #26AE99
square
#5526AE #AE263B #7FAE26 #26AE99
split-complementary
#5526AE #AE9926 #3BAE26
monochromatic
#24104A #3C1B7C #5526AE #713DD5 #966FE0

Accessibility & contrast

On white

9.23
#5526AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5526AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526AE
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526AE#FFFFFF#000000##FFFFFF
##5526AE1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#364D69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5526ae;
/* rgb */ color: rgb(85, 38, 174);
/* oklch */ color: oklch(42.3% 0.197 291.2);
Tailwind
colors: {
  custom: {
    50: '#8e66c7',
    500: '#5526ae',
    950: '#000000',
  },
}
SCSS
$custom: #5526ae;
$custom-light: #8e66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5526ae",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 260.735,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.19749,
    "h": 291.2
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#5526AE
secondary
#A6C66A
accent
#E741AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5526AE

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

Preview Lab → · Contrast checker → · Palette generator →

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