#5527AE#5527AE

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

Color values

HEX#5527AE
RGBrgb(85, 39, 174)
HSLhsl(260, 63%, 42%)
HSVhsv(260, 78%, 68%)
CMYKcmyk(51.1%, 77.6%, 0%, 31.8%)
CIE-LABlab(30.49, 51.20, -63.84)
CIE-LCHlch(30.49, 81.84, 308.73°)
OKLaboklab(42.4% 0.0706 -0.1834)
OKLCHoklch(42.4% 0.197 291)
XYZxyz(12.1096, 6.4378, 40.6408)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5527AE #80AE27
analogous
#273DAE #5527AE #9827AE
triadic
#5527AE #AE5527 #27AE55
tetradic
#5527AE #AE273D #80AE27 #27AE98
square
#5527AE #AE273D #80AE27 #27AE98
split-complementary
#5527AE #AE9827 #3DAE27
monochromatic
#24114A #3D1C7C #5527AE #713ED4 #9670DF

Accessibility & contrast

On white

9.18
#5527AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5527AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5527AE
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5527AE#FFFFFF#000000##FFFFFF
##5527AE1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#364D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5527ae;
/* rgb */ color: rgb(85, 39, 174);
/* oklch */ color: oklch(42.4% 0.197 291.0);
Tailwind
colors: {
  custom: {
    50: '#8e67c7',
    500: '#5527ae',
    950: '#000000',
  },
}
SCSS
$custom: #5527ae;
$custom-light: #8e67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5527ae",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 260.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.19653,
    "h": 291
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#5527AE
secondary
#A7C66B
accent
#E641AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5527AE

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

Preview Lab → · Contrast checker → · Palette generator →

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