#55218F#55218F

#55218F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.169 H 299.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#55218F
RGBrgb(85, 33, 143)
HSLhsl(268, 63%, 35%)
HSVhsv(268, 77%, 56%)
CMYKcmyk(40.6%, 76.9%, 0%, 43.9%)
CIE-LABlab(26.74, 45.73, -51.12)
CIE-LCHlch(26.74, 68.59, 311.82°)
OKLaboklab(38.91% 0.0841 -0.146)
OKLCHoklch(38.91% 0.169 299.9)
XYZxyz(9.2469, 5.0021, 26.4596)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55218F #5B8F21
analogous
#21248F #55218F #8C218F
triadic
#55218F #8F5521 #218F55
tetradic
#55218F #8F2124 #5B8F21 #218F8C
square
#55218F #8F2124 #5B8F21 #218F8C
split-complementary
#55218F #8F8C21 #248F21
monochromatic
#1A0A2C #37165D #55218F #732CC1 #9253D7

Accessibility & contrast

On white

10.50
#55218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#55218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55218F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55218F#FFFFFF#000000##FFFFFF
##55218F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#473E57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55218f;
/* rgb */ color: rgb(85, 33, 143);
/* oklch */ color: oklch(38.9% 0.169 299.9);
Tailwind
colors: {
  custom: {
    50: '#8b62b1',
    500: '#55218f',
    950: '#000000',
  },
}
SCSS
$custom: #55218f;
$custom-light: #8b62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#55218f",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 268.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38908,
    "c": 0.16854,
    "h": 299.9
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#55218F
secondary
#89BB51
accent
#E64298
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #55218F

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

Preview Lab → · Contrast checker → · Palette generator →

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