#5527A5#5527A5

#5527A5 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.186 H 293.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#5527A5
RGBrgb(85, 39, 165)
HSLhsl(262, 62%, 40%)
HSVhsv(262, 76%, 65%)
CMYKcmyk(48.5%, 76.4%, 0%, 35.3%)
CIE-LABlab(29.66, 48.77, -59.79)
CIE-LCHlch(29.66, 77.16, 309.20°)
OKLaboklab(41.56% 0.0731 -0.1716)
OKLCHoklch(41.56% 0.186 293.1)
XYZxyz(11.2615, 6.0986, 36.1738)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5527A5 #77A527
analogous
#2738A5 #5527A5 #9427A5
triadic
#5527A5 #A55527 #27A555
tetradic
#5527A5 #A52738 #77A527 #27A594
square
#5527A5 #A52738 #77A527 #27A594
split-complementary
#5527A5 #A59427 #38A527
monochromatic
#221042 #3C1B74 #5527A5 #7039D0 #946ADC

Accessibility & contrast

On white

9.46
#5527A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5527A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5527A5#FFFFFF#000000##FFFFFF
##5527A51.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#3C4965
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5527a5;
/* rgb */ color: rgb(85, 39, 165);
/* oklch */ color: oklch(41.6% 0.186 293.1);
Tailwind
colors: {
  custom: {
    50: '#8d66c1',
    500: '#5527a5',
    950: '#000000',
  },
}
SCSS
$custom: #5527a5;
$custom-light: #8d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5527a5",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 261.905,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.18648,
    "h": 293.1
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5527A5

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

Preview Lab → · Contrast checker → · Palette generator →

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