#55218C#55218C

#55218C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.165 H 300.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#55218C
RGBrgb(85, 33, 140)
HSLhsl(269, 62%, 34%)
HSVhsv(269, 76%, 55%)
CMYKcmyk(39.3%, 76.4%, 0%, 45.1%)
CIE-LABlab(26.48, 44.97, -49.67)
CIE-LCHlch(26.48, 67.00, 312.15°)
OKLaboklab(38.65% 0.0849 -0.1418)
OKLCHoklch(38.65% 0.165 300.9)
XYZxyz(9.0226, 4.9124, 25.2787)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55218C #588C21
analogous
#21228C #55218C #8B218C
triadic
#55218C #8C5521 #218C55
tetradic
#55218C #8C2122 #588C21 #218C8B
square
#55218C #8C2122 #588C21 #218C8B
split-complementary
#55218C #8C8B21 #228C21
monochromatic
#190A29 #37155A #55218C #732DBE #9251D6

Accessibility & contrast

On white

10.59
#55218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#55218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55218C
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55218C#FFFFFF#000000##FFFFFF
##55218C1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#493C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55218c;
/* rgb */ color: rgb(85, 33, 140);
/* oklch */ color: oklch(38.6% 0.165 300.9);
Tailwind
colors: {
  custom: {
    50: '#8a62ae',
    500: '#55218c',
    950: '#000000',
  },
}
SCSS
$custom: #55218c;
$custom-light: #8a62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55218c",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 269.159,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38647,
    "c": 0.16526,
    "h": 300.9
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#55218C
secondary
#86B94F
accent
#E54396
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #55218C

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

Preview Lab → · Contrast checker → · Palette generator →

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