#5527A6#5527A6

#5527A6 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.188 H 292.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#5527A6
RGBrgb(85, 39, 166)
HSLhsl(262, 62%, 40%)
HSVhsv(262, 77%, 65%)
CMYKcmyk(48.8%, 76.5%, 0%, 34.9%)
CIE-LABlab(29.75, 49.04, -60.25)
CIE-LCHlch(29.75, 77.68, 309.14°)
OKLaboklab(41.65% 0.0728 -0.1729)
OKLCHoklch(41.65% 0.188 292.8)
XYZxyz(11.3528, 6.1351, 36.6550)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5527A6 #78A627
analogous
#2739A6 #5527A6 #9427A6
triadic
#5527A6 #A65527 #27A655
tetradic
#5527A6 #A62739 #78A627 #27A694
square
#5527A6 #A62739 #78A627 #27A694
split-complementary
#5527A6 #A69427 #39A627
monochromatic
#221043 #3C1B74 #5527A6 #703AD1 #946BDC

Accessibility & contrast

On white

9.43
#5527A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5527A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5527A6#FFFFFF#000000##FFFFFF
##5527A61.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#3B4A65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5527a6;
/* rgb */ color: rgb(85, 39, 166);
/* oklch */ color: oklch(41.7% 0.188 292.8);
Tailwind
colors: {
  custom: {
    50: '#8d66c1',
    500: '#5527a6',
    950: '#000000',
  },
}
SCSS
$custom: #5527a6;
$custom-light: #8d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5527a6",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 261.732,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41651,
    "c": 0.1876,
    "h": 292.8
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#5527A6
secondary
#A1C366
accent
#E543AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5527A6

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

Preview Lab → · Contrast checker → · Palette generator →

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