#552C7A#552C7A

#552C7A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.130 H 305.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#552C7A
RGBrgb(85, 44, 122)
HSLhsl(272, 47%, 33%)
HSVhsv(272, 64%, 48%)
CMYKcmyk(30.3%, 63.9%, 0%, 52.2%)
CIE-LABlab(27.12, 34.69, -37.35)
CIE-LCHlch(27.12, 50.97, 312.88°)
OKLaboklab(38.67% 0.0749 -0.1056)
OKLCHoklch(38.67% 0.13 305.3)
XYZxyz(8.1591, 5.1379, 18.9705)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C7A #517A2C
analogous
#2E2C7A #552C7A #7A2C78
triadic
#552C7A #7A552C #2C7A55
tetradic
#552C7A #7A2E2C #517A2C #2C787A
square
#552C7A #7A2E2C #517A2C #2C787A
split-complementary
#552C7A #787A2C #2C7A2E
monochromatic
#160C20 #361C4D #552C7A #743CA7 #935CC4

Accessibility & contrast

On white

10.36
#552C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#552C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552C7A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C7A#FFFFFF#000000##FFFFFF
##552C7A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7C
Deuteranopia (green-blind)
#1B4078
Tritanopia (blue-blind)
#4F3C4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552c7a;
/* rgb */ color: rgb(85, 44, 122);
/* oklch */ color: oklch(38.7% 0.130 305.3);
Tailwind
colors: {
  custom: {
    50: '#8867a1',
    500: '#552c7a',
    950: '#000000',
  },
}
SCSS
$custom: #552c7a;
$custom-light: #8867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#552c7a",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 271.538,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38668,
    "c": 0.12953,
    "h": 305.3
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#552C7A
secondary
#7FAA57
accent
#D75190
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #552C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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