#55217B#55217B

#55217B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.147 H 307.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#55217B
RGBrgb(85, 33, 123)
HSLhsl(275, 58%, 31%)
HSVhsv(275, 73%, 48%)
CMYKcmyk(30.9%, 73.2%, 0%, 51.8%)
CIE-LABlab(25.10, 40.71, -41.24)
CIE-LCHlch(25.10, 57.95, 314.62°)
OKLaboklab(37.24% 0.0883 -0.117)
OKLCHoklch(37.24% 0.147 307)
XYZxyz(7.8646, 4.4492, 19.1795)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55217B #477B21
analogous
#28217B #55217B #7B2174
triadic
#55217B #7B5521 #217B55
tetradic
#55217B #7B2821 #477B21 #21747B
square
#55217B #7B2821 #477B21 #21747B
split-complementary
#55217B #747B21 #217B28
monochromatic
#12071A #34144B #55217B #762EAB #9648CE

Accessibility & contrast

On white

11.11
#55217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55217B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55217B#FFFFFF#000000##FFFFFF
##55217B1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#043C79
Tritanopia (blue-blind)
#4F364B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55217b;
/* rgb */ color: rgb(85, 33, 123);
/* oklch */ color: oklch(37.2% 0.147 307.0);
Tailwind
colors: {
  custom: {
    50: '#8961a2',
    500: '#55217b',
    950: '#000000',
  },
}
SCSS
$custom: #55217b;
$custom-light: #8961a2;
$custom-dark: #000000;
JSON
{
  "hex": "#55217b",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 274.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37238,
    "c": 0.14659,
    "h": 307
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#55217B
secondary
#74AE4A
accent
#E14788
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55217B

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

Preview Lab → · Contrast checker → · Palette generator →

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