#55217C#55217C

#55217C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.148 H 306.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#55217C
RGBrgb(85, 33, 124)
HSLhsl(274, 58%, 31%)
HSVhsv(274, 73%, 49%)
CMYKcmyk(31.5%, 73.4%, 0%, 51.4%)
CIE-LABlab(25.18, 40.95, -41.75)
CIE-LCHlch(25.18, 58.48, 314.45°)
OKLaboklab(37.32% 0.0881 -0.1185)
OKLCHoklch(37.32% 0.148 306.6)
XYZxyz(7.9275, 4.4743, 19.5109)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55217C #487C21
analogous
#27217C #55217C #7C2175
triadic
#55217C #7C5521 #217C55
tetradic
#55217C #7C2721 #487C21 #21757C
square
#55217C #7C2721 #487C21 #21757C
split-complementary
#55217C #757C21 #217C27
monochromatic
#13071B #34144C #55217C #762EAC #9549CF

Accessibility & contrast

On white

11.08
#55217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#55217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55217C
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55217C#FFFFFF#000000##FFFFFF
##55217C1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#023C7A
Tritanopia (blue-blind)
#4E364C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55217c;
/* rgb */ color: rgb(85, 33, 124);
/* oklch */ color: oklch(37.3% 0.148 306.6);
Tailwind
colors: {
  custom: {
    50: '#8961a3',
    500: '#55217c',
    950: '#000000',
  },
}
SCSS
$custom: #55217c;
$custom-light: #8961a3;
$custom-dark: #000000;
JSON
{
  "hex": "#55217c",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 274.286,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37318,
    "c": 0.14769,
    "h": 306.6
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#55217C
secondary
#75AF4A
accent
#E14789
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55217C

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

Preview Lab → · Contrast checker → · Palette generator →

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