#55217D#55217D

#55217D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.149 H 306.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#55217D
RGBrgb(85, 33, 125)
HSLhsl(274, 58%, 31%)
HSVhsv(274, 74%, 49%)
CMYKcmyk(32%, 73.6%, 0%, 51%)
CIE-LABlab(25.26, 41.20, -42.26)
CIE-LCHlch(25.26, 59.02, 314.27°)
OKLaboklab(37.4% 0.088 -0.12)
OKLCHoklch(37.4% 0.149 306.2)
XYZxyz(7.9910, 4.4998, 19.8456)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55217D #497D21
analogous
#27217D #55217D #7D2177
triadic
#55217D #7D5521 #217D55
tetradic
#55217D #7D2721 #497D21 #21777D
square
#55217D #7D2721 #497D21 #21777D
split-complementary
#55217D #777D21 #217D27
monochromatic
#13071C #34144D #55217D #762EAD #9549CF

Accessibility & contrast

On white

11.05
#55217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#55217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55217D
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55217D#FFFFFF#000000##FFFFFF
##55217D1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#4E364D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55217d;
/* rgb */ color: rgb(85, 33, 125);
/* oklch */ color: oklch(37.4% 0.149 306.2);
Tailwind
colors: {
  custom: {
    50: '#8961a3',
    500: '#55217d',
    950: '#000000',
  },
}
SCSS
$custom: #55217d;
$custom-light: #8961a3;
$custom-dark: #000000;
JSON
{
  "hex": "#55217d",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 273.913,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37398,
    "c": 0.14879,
    "h": 306.2
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#55217D
secondary
#76B04A
accent
#E1468A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55217D

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

Preview Lab → · Contrast checker → · Palette generator →

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