#552F79#552F79

#552F79 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.123 H 305.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#552F79
RGBrgb(85, 47, 121)
HSLhsl(271, 44%, 33%)
HSVhsv(271, 61%, 47%)
CMYKcmyk(29.8%, 61.2%, 0%, 52.5%)
CIE-LABlab(27.70, 32.71, -35.80)
CIE-LCHlch(27.70, 48.50, 312.42°)
OKLaboklab(39.06% 0.0709 -0.1011)
OKLCHoklch(39.06% 0.124 305)
XYZxyz(8.2133, 5.3448, 18.6844)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F79 #53792F
analogous
#302F79 #552F79 #792F78
triadic
#552F79 #79552F #2F7955
tetradic
#552F79 #79302F #53792F #2F7879
square
#552F79 #79302F #53792F #2F7879
split-complementary
#552F79 #78792F #2F7930
monochromatic
#170D21 #361E4D #552F79 #7440A5 #9361C2

Accessibility & contrast

On white

10.15
#552F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#552F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F79
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F79#FFFFFF#000000##FFFFFF
##552F791.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407B
Deuteranopia (green-blind)
#204177
Tritanopia (blue-blind)
#4F3E4F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552f79;
/* rgb */ color: rgb(85, 47, 121);
/* oklch */ color: oklch(39.1% 0.123 305.0);
Tailwind
colors: {
  custom: {
    50: '#8869a0',
    500: '#552f79',
    950: '#000000',
  },
}
SCSS
$custom: #552f79;
$custom-light: #8869a0;
$custom-dark: #000000;
JSON
{
  "hex": "#552f79",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 270.811,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39062,
    "c": 0.1235,
    "h": 305
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#552F79
secondary
#81A85B
accent
#D45492
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #552F79

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

Preview Lab → · Contrast checker → · Palette generator →

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