#5527A8#5527A8

#5527A8 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.190 H 292.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#5527A8
RGBrgb(85, 39, 168)
HSLhsl(261, 62%, 41%)
HSVhsv(261, 77%, 66%)
CMYKcmyk(49.4%, 76.8%, 0%, 34.1%)
CIE-LABlab(29.93, 49.58, -61.15)
CIE-LCHlch(29.93, 78.73, 309.03°)
OKLaboklab(41.84% 0.0723 -0.1755)
OKLCHoklch(41.84% 0.19 292.4)
XYZxyz(11.5377, 6.2091, 37.6287)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5527A8 #7AA827
analogous
#273AA8 #5527A8 #9527A8
triadic
#5527A8 #A85527 #27A855
tetradic
#5527A8 #A8273A #7AA827 #27A895
square
#5527A8 #A8273A #7AA827 #27A895
split-complementary
#5527A8 #A89527 #3AA827
monochromatic
#231045 #3C1B76 #5527A8 #703BD1 #956CDD

Accessibility & contrast

On white

9.37
#5527A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5527A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5527A8#FFFFFF#000000##FFFFFF
##5527A81.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#3A4B66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5527a8;
/* rgb */ color: rgb(85, 39, 168);
/* oklch */ color: oklch(41.8% 0.190 292.4);
Tailwind
colors: {
  custom: {
    50: '#8d66c3',
    500: '#5527a8',
    950: '#000000',
  },
}
SCSS
$custom: #5527a8;
$custom-light: #8d66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5527a8",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 261.395,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41835,
    "c": 0.18983,
    "h": 292.4
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#5527A8
secondary
#A3C367
accent
#E542AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5527A8

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

Preview Lab → · Contrast checker → · Palette generator →

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