#5527AD#5527AD

#5527AD is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.195 H 291.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#5527AD
RGBrgb(85, 39, 173)
HSLhsl(261, 63%, 42%)
HSVhsv(261, 77%, 68%)
CMYKcmyk(50.9%, 77.5%, 0%, 32.2%)
CIE-LABlab(30.40, 50.93, -63.40)
CIE-LCHlch(30.40, 81.32, 308.78°)
OKLaboklab(42.3% 0.0709 -0.1821)
OKLCHoklch(42.3% 0.195 291.3)
XYZxyz(12.0125, 6.3990, 40.1292)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5527AD #7FAD27
analogous
#273CAD #5527AD #9827AD
triadic
#5527AD #AD5527 #27AD55
tetradic
#5527AD #AD273C #7FAD27 #27AD98
square
#5527AD #AD273C #7FAD27 #27AD98
split-complementary
#5527AD #AD9827 #3CAD27
monochromatic
#241049 #3C1C7B #5527AD #713ED3 #9670DF

Accessibility & contrast

On white

9.21
#5527AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5527AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5527AD#FFFFFF#000000##FFFFFF
##5527AD1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#374D69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5527ad;
/* rgb */ color: rgb(85, 39, 173);
/* oklch */ color: oklch(42.3% 0.195 291.3);
Tailwind
colors: {
  custom: {
    50: '#8e67c7',
    500: '#5527ad',
    950: '#000000',
  },
}
SCSS
$custom: #5527ad;
$custom-light: #8e67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5527ad",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 260.597,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.19542,
    "h": 291.3
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#5527AD
secondary
#A6C66A
accent
#E642AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5527AD

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

Preview Lab → · Contrast checker → · Palette generator →

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