#5527A2#5527A2

#5527A2 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.183 H 293.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#5527A2
RGBrgb(85, 39, 162)
HSLhsl(262, 61%, 39%)
HSVhsv(262, 76%, 64%)
CMYKcmyk(47.5%, 75.9%, 0%, 36.5%)
CIE-LABlab(29.39, 47.96, -58.42)
CIE-LCHlch(29.39, 75.59, 309.38°)
OKLaboklab(41.29% 0.0739 -0.1675)
OKLCHoklch(41.29% 0.183 293.8)
XYZxyz(10.9916, 5.9906, 34.7526)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5527A2 #74A227
analogous
#2737A2 #5527A2 #9327A2
triadic
#5527A2 #A25527 #27A255
tetradic
#5527A2 #A22737 #74A227 #27A293
square
#5527A2 #A22737 #74A227 #27A293
split-complementary
#5527A2 #A29327 #37A227
monochromatic
#210F3F #3B1B71 #5527A2 #7037CF #9369DB

Accessibility & contrast

On white

9.55
#5527A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5527A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5527A2#FFFFFF#000000##FFFFFF
##5527A21.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#3E4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5527a2;
/* rgb */ color: rgb(85, 39, 162);
/* oklch */ color: oklch(41.3% 0.183 293.8);
Tailwind
colors: {
  custom: {
    50: '#8d66bf',
    500: '#5527a2',
    950: '#000000',
  },
}
SCSS
$custom: #5527a2;
$custom-light: #8d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5527a2",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 262.439,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.1831,
    "h": 293.8
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#5527A2
secondary
#9EC164
accent
#E443A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5527A2

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

Preview Lab → · Contrast checker → · Palette generator →

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