#5527AA#5527AA

#5527AA is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.192 H 291.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#5527AA
RGBrgb(85, 39, 170)
HSLhsl(261, 63%, 41%)
HSVhsv(261, 77%, 67%)
CMYKcmyk(50%, 77.1%, 0%, 33.3%)
CIE-LABlab(30.12, 50.12, -62.06)
CIE-LCHlch(30.12, 79.77, 308.93°)
OKLaboklab(42.02% 0.0717 -0.1782)
OKLCHoklch(42.02% 0.192 291.9)
XYZxyz(11.7255, 6.2842, 38.6176)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5527AA #7CAA27
analogous
#273AAA #5527AA #9627AA
triadic
#5527AA #AA5527 #27AA55
tetradic
#5527AA #AA273A #7CAA27 #27AA96
square
#5527AA #AA273A #7CAA27 #27AA96
split-complementary
#5527AA #AA9627 #3AAA27
monochromatic
#231046 #3C1C78 #5527AA #713CD2 #956EDE

Accessibility & contrast

On white

9.30
#5527AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5527AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5527AA#FFFFFF#000000##FFFFFF
##5527AA1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#394B67
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5527aa;
/* rgb */ color: rgb(85, 39, 170);
/* oklch */ color: oklch(42.0% 0.192 291.9);
Tailwind
colors: {
  custom: {
    50: '#8e67c4',
    500: '#5527aa',
    950: '#000000',
  },
}
SCSS
$custom: #5527aa;
$custom-light: #8e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5527aa",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 261.069,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.19207,
    "h": 291.9
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#5527AA
secondary
#A4C469
accent
#E642AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5527AA

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

Preview Lab → · Contrast checker → · Palette generator →

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