#552A77#552A77

#552A77 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.129 H 307.0°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#552A77
RGBrgb(85, 42, 119)
HSLhsl(274, 48%, 32%)
HSVhsv(274, 65%, 47%)
CMYKcmyk(28.6%, 64.7%, 0%, 53.3%)
CIE-LABlab(26.50, 35.03, -36.45)
CIE-LCHlch(26.50, 50.55, 313.87°)
OKLaboklab(38.15% 0.0777 -0.103)
OKLCHoklch(38.15% 0.129 307)
XYZxyz(7.9034, 4.9192, 17.9823)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A77 #4C772A
analogous
#2E2A77 #552A77 #772A73
triadic
#552A77 #77552A #2A7755
tetradic
#552A77 #772E2A #4C772A #2A7377
square
#552A77 #772E2A #4C772A #2A7377
split-complementary
#552A77 #73772A #2A772E
monochromatic
#140A1D #351A4A #552A77 #753AA4 #9458C4

Accessibility & contrast

On white

10.59
#552A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#552A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A77
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A77#FFFFFF#000000##FFFFFF
##552A771.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D79
Deuteranopia (green-blind)
#1B3F75
Tritanopia (blue-blind)
#503A4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #552a77;
/* rgb */ color: rgb(85, 42, 119);
/* oklch */ color: oklch(38.2% 0.129 307.0);
Tailwind
colors: {
  custom: {
    50: '#88669f',
    500: '#552a77',
    950: '#000000',
  },
}
SCSS
$custom: #552a77;
$custom-light: #88669f;
$custom-dark: #000000;
JSON
{
  "hex": "#552a77",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 273.506,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38151,
    "c": 0.12901,
    "h": 307
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#552A77
secondary
#79A954
accent
#D7508C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #552A77

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

Preview Lab → · Contrast checker → · Palette generator →

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