#55218A#55218A

#55218A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.163 H 301.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#55218A
RGBrgb(85, 33, 138)
HSLhsl(270, 61%, 34%)
HSVhsv(270, 76%, 54%)
CMYKcmyk(38.4%, 76.1%, 0%, 45.9%)
CIE-LABlab(26.31, 44.46, -48.71)
CIE-LCHlch(26.31, 65.95, 312.39°)
OKLaboklab(38.48% 0.0853 -0.139)
OKLCHoklch(38.48% 0.163 301.6)
XYZxyz(8.8765, 4.8539, 24.5091)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55218A #568A21
analogous
#21218A #55218A #89218A
triadic
#55218A #8A5521 #218A55
tetradic
#55218A #8A2121 #568A21 #218A89
square
#55218A #8A2121 #568A21 #218A89
split-complementary
#55218A #8A8921 #218A21
monochromatic
#180927 #371559 #55218A #732DBB #9250D5

Accessibility & contrast

On white

10.66
#55218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#55218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55218A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55218A#FFFFFF#000000##FFFFFF
##55218A1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#493C54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #55218a;
/* rgb */ color: rgb(85, 33, 138);
/* oklch */ color: oklch(38.5% 0.163 301.6);
Tailwind
colors: {
  custom: {
    50: '#8a62ad',
    500: '#55218a',
    950: '#000000',
  },
}
SCSS
$custom: #55218a;
$custom-light: #8a62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#55218a",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 269.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.16307,
    "h": 301.6
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#55218A
secondary
#84B94E
accent
#E54395
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #55218A

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

Preview Lab → · Contrast checker → · Palette generator →

#55218A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva