#552C8A#552C8A

#552C8A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.149 H 299.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#552C8A
RGBrgb(85, 44, 138)
HSLhsl(266, 52%, 36%)
HSVhsv(266, 68%, 54%)
CMYKcmyk(38.4%, 68.1%, 0%, 45.9%)
CIE-LABlab(28.29, 38.93, -45.49)
CIE-LCHlch(28.29, 59.87, 310.56°)
OKLaboklab(39.89% 0.0736 -0.1296)
OKLCHoklch(39.89% 0.149 299.6)
XYZxyz(9.2333, 5.5675, 24.6280)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C8A #618A2C
analogous
#2C328A #552C8A #842C8A
triadic
#552C8A #8A552C #2C8A55
tetradic
#552C8A #8A2C32 #618A2C #2C8A84
square
#552C8A #8A2C32 #618A2C #2C8A84
split-complementary
#552C8A #8A842C #328A2C
monochromatic
#1C0E2D #381D5C #552C8A #723BB8 #9163CD

Accessibility & contrast

On white

9.94
#552C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#552C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552C8A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C8A#FFFFFF#000000##FFFFFF
##552C8A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#494257
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552c8a;
/* rgb */ color: rgb(85, 44, 138);
/* oklch */ color: oklch(39.9% 0.149 299.6);
Tailwind
colors: {
  custom: {
    50: '#8968ad',
    500: '#552c8a',
    950: '#000000',
  },
}
SCSS
$custom: #552c8a;
$custom-light: #8968ad;
$custom-dark: #000000;
JSON
{
  "hex": "#552c8a",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 266.17,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.14901,
    "h": 299.6
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#552C8A
secondary
#8EB45E
accent
#DB4D9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#552C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva