#552C7B#552C7B

#552C7B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.131 H 304.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#552C7B
RGBrgb(85, 44, 123)
HSLhsl(271, 47%, 33%)
HSVhsv(271, 64%, 48%)
CMYKcmyk(30.9%, 64.2%, 0%, 51.8%)
CIE-LABlab(27.19, 34.95, -37.87)
CIE-LCHlch(27.19, 51.53, 312.70°)
OKLaboklab(38.74% 0.0749 -0.1072)
OKLCHoklch(38.74% 0.131 304.9)
XYZxyz(8.2214, 5.1628, 19.2984)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C7B #527B2C
analogous
#2D2C7B #552C7B #7B2C79
triadic
#552C7B #7B552C #2C7B55
tetradic
#552C7B #7B2D2C #527B2C #2C797B
square
#552C7B #7B2D2C #527B2C #2C797B
split-complementary
#552C7B #797B2C #2C7B2D
monochromatic
#170C21 #361C4E #552C7B #743CA8 #935DC5

Accessibility & contrast

On white

10.33
#552C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552C7B
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C7B#FFFFFF#000000##FFFFFF
##552C7B1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#194079
Tritanopia (blue-blind)
#4E3C4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552c7b;
/* rgb */ color: rgb(85, 44, 123);
/* oklch */ color: oklch(38.7% 0.131 304.9);
Tailwind
colors: {
  custom: {
    50: '#8867a2',
    500: '#552c7b',
    950: '#000000',
  },
}
SCSS
$custom: #552c7b;
$custom-light: #8867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552c7b",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 271.139,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38741,
    "c": 0.13076,
    "h": 304.9
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#552C7B
secondary
#80AB58
accent
#D75191
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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