#55218E#55218E

#55218E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.167 H 300.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#55218E
RGBrgb(85, 33, 142)
HSLhsl(269, 62%, 34%)
HSVhsv(269, 77%, 56%)
CMYKcmyk(40.1%, 76.8%, 0%, 44.3%)
CIE-LABlab(26.65, 45.48, -50.64)
CIE-LCHlch(26.65, 68.06, 311.93°)
OKLaboklab(38.82% 0.0844 -0.1446)
OKLCHoklch(38.82% 0.167 300.3)
XYZxyz(9.1714, 4.9719, 26.0624)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55218E #5A8E21
analogous
#21238E #55218E #8C218E
triadic
#55218E #8E5521 #218E55
tetradic
#55218E #8E2123 #5A8E21 #218E8C
square
#55218E #8E2123 #5A8E21 #218E8C
split-complementary
#55218E #8E8C21 #238E21
monochromatic
#1A0A2B #37155C #55218E #732DC0 #9252D7

Accessibility & contrast

On white

10.53
#55218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#55218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55218E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55218E#FFFFFF#000000##FFFFFF
##55218E1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#483D56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55218e;
/* rgb */ color: rgb(85, 33, 142);
/* oklch */ color: oklch(38.8% 0.167 300.3);
Tailwind
colors: {
  custom: {
    50: '#8b62b0',
    500: '#55218e',
    950: '#000000',
  },
}
SCSS
$custom: #55218e;
$custom-light: #8b62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#55218e",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 268.624,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.16744,
    "h": 300.3
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#55218E
secondary
#88BA50
accent
#E54298
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #55218E

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

Preview Lab → · Contrast checker → · Palette generator →

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