#552C8B#552C8B

#552C8B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.150 H 299.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#552C8B
RGBrgb(85, 44, 139)
HSLhsl(266, 52%, 36%)
HSVhsv(266, 68%, 55%)
CMYKcmyk(38.8%, 68.3%, 0%, 45.5%)
CIE-LABlab(28.37, 39.20, -45.98)
CIE-LCHlch(28.37, 60.42, 310.44°)
OKLaboklab(39.97% 0.0735 -0.131)
OKLCHoklch(39.97% 0.15 299.3)
XYZxyz(9.3060, 5.5966, 25.0111)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C8B #628B2C
analogous
#2C328B #552C8B #842C8B
triadic
#552C8B #8B552C #2C8B55
tetradic
#552C8B #8B2C32 #628B2C #2C8B84
square
#552C8B #8B2C32 #628B2C #2C8B84
split-complementary
#552C8B #8B842C #328B2C
monochromatic
#1C0F2E #391D5D #552C8B #713BB9 #9164CE

Accessibility & contrast

On white

9.91
#552C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#552C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552C8B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C8B#FFFFFF#000000##FFFFFF
##552C8B1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552c8b;
/* rgb */ color: rgb(85, 44, 139);
/* oklch */ color: oklch(40.0% 0.150 299.3);
Tailwind
colors: {
  custom: {
    50: '#8968ae',
    500: '#552c8b',
    950: '#000000',
  },
}
SCSS
$custom: #552c8b;
$custom-light: #8968ae;
$custom-dark: #000000;
JSON
{
  "hex": "#552c8b",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 265.895,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.15022,
    "h": 299.3
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#552C8B
secondary
#8FB45F
accent
#DB4C9E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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