#552C79#552C79

#552C79 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.128 H 305.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#552C79
RGBrgb(85, 44, 121)
HSLhsl(272, 47%, 32%)
HSVhsv(272, 64%, 47%)
CMYKcmyk(29.8%, 63.6%, 0%, 52.5%)
CIE-LABlab(27.05, 34.43, -36.83)
CIE-LCHlch(27.05, 50.42, 313.07°)
OKLaboklab(38.6% 0.075 -0.1041)
OKLCHoklch(38.6% 0.128 305.8)
XYZxyz(8.0974, 5.1132, 18.6458)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C79 #50792C
analogous
#2E2C79 #552C79 #792C77
triadic
#552C79 #79552C #2C7955
tetradic
#552C79 #792E2C #50792C #2C7779
square
#552C79 #792E2C #50792C #2C7779
split-complementary
#552C79 #77792C #2C792E
monochromatic
#160B1F #351C4C #552C79 #753CA6 #935CC4

Accessibility & contrast

On white

10.38
#552C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#552C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552C79
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C79#FFFFFF#000000##FFFFFF
##552C791.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7B
Deuteranopia (green-blind)
#1C4077
Tritanopia (blue-blind)
#4F3C4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552c79;
/* rgb */ color: rgb(85, 44, 121);
/* oklch */ color: oklch(38.6% 0.128 305.8);
Tailwind
colors: {
  custom: {
    50: '#8867a0',
    500: '#552c79',
    950: '#000000',
  },
}
SCSS
$custom: #552c79;
$custom-light: #8867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#552c79",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 271.948,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.1283,
    "h": 305.8
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#552C79
secondary
#7EAA57
accent
#D65190
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #552C79

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

Preview Lab → · Contrast checker → · Palette generator →

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