#55218D#55218D

#55218D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.166 H 300.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#55218D
RGBrgb(85, 33, 141)
HSLhsl(269, 62%, 34%)
HSVhsv(269, 77%, 55%)
CMYKcmyk(39.7%, 76.6%, 0%, 44.7%)
CIE-LABlab(26.57, 45.22, -50.16)
CIE-LCHlch(26.57, 67.53, 312.04°)
OKLaboklab(38.73% 0.0846 -0.1432)
OKLCHoklch(38.73% 0.166 300.6)
XYZxyz(9.0967, 4.9420, 25.6688)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55218D #598D21
analogous
#21238D #55218D #8B218D
triadic
#55218D #8D5521 #218D55
tetradic
#55218D #8D2123 #598D21 #218D8B
square
#55218D #8D2123 #598D21 #218D8B
split-complementary
#55218D #8D8B21 #238D21
monochromatic
#190A2A #37155B #55218D #732DBF #9252D6

Accessibility & contrast

On white

10.56
#55218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55218D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55218D#FFFFFF#000000##FFFFFF
##55218D1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#483D55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55218d;
/* rgb */ color: rgb(85, 33, 141);
/* oklch */ color: oklch(38.7% 0.166 300.6);
Tailwind
colors: {
  custom: {
    50: '#8a62af',
    500: '#55218d',
    950: '#000000',
  },
}
SCSS
$custom: #55218d;
$custom-light: #8a62af;
$custom-dark: #000000;
JSON
{
  "hex": "#55218d",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 268.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38734,
    "c": 0.16636,
    "h": 300.6
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#55218D
secondary
#87BA50
accent
#E54397
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #55218D

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

Preview Lab → · Contrast checker → · Palette generator →

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