#55217E#55217E

#55217E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.150 H 305.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#55217E
RGBrgb(85, 33, 126)
HSLhsl(274, 58%, 31%)
HSVhsv(274, 74%, 49%)
CMYKcmyk(32.5%, 73.8%, 0%, 50.6%)
CIE-LABlab(25.34, 41.45, -42.77)
CIE-LCHlch(25.34, 59.55, 314.10°)
OKLaboklab(37.48% 0.0878 -0.1215)
OKLCHoklch(37.48% 0.15 305.8)
XYZxyz(8.0552, 4.5254, 20.1838)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55217E #4A7E21
analogous
#26217E #55217E #7E2178
triadic
#55217E #7E5521 #217E55
tetradic
#55217E #7E2621 #4A7E21 #21787E
square
#55217E #7E2621 #4A7E21 #21787E
split-complementary
#55217E #787E21 #217E26
monochromatic
#14081D #34144E #55217E #762EAE #954AD0

Accessibility & contrast

On white

11.02
#55217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#55217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55217E
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55217E#FFFFFF#000000##FFFFFF
##55217E1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#4E374D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55217e;
/* rgb */ color: rgb(85, 33, 126);
/* oklch */ color: oklch(37.5% 0.150 305.8);
Tailwind
colors: {
  custom: {
    50: '#8961a4',
    500: '#55217e',
    950: '#000000',
  },
}
SCSS
$custom: #55217e;
$custom-light: #8961a4;
$custom-dark: #000000;
JSON
{
  "hex": "#55217e",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 273.548,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37478,
    "c": 0.14989,
    "h": 305.8
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#55217E
secondary
#77B14A
accent
#E2468B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55217E

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

Preview Lab → · Contrast checker → · Palette generator →

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