#552A81#552A81

#552A81 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.141 H 303.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#552A81
RGBrgb(85, 42, 129)
HSLhsl(270, 51%, 34%)
HSVhsv(270, 67%, 51%)
CMYKcmyk(34.1%, 67.4%, 0%, 49.4%)
CIE-LABlab(27.22, 37.62, -41.61)
CIE-LCHlch(27.22, 56.09, 312.12°)
OKLaboklab(38.9% 0.077 -0.1181)
OKLCHoklch(38.9% 0.141 303.1)
XYZxyz(8.5358, 5.1722, 21.3133)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A81 #56812A
analogous
#2A2A81 #552A81 #802A81
triadic
#552A81 #81552A #2A8155
tetradic
#552A81 #812A2A #56812A #2A8180
square
#552A81 #812A2A #56812A #2A8180
split-complementary
#552A81 #81802A #2A812A
monochromatic
#180C25 #371B53 #552A81 #7339AF #925CCA

Accessibility & contrast

On white

10.32
#552A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552A81
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A81#FFFFFF#000000##FFFFFF
##552A811.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#0B407F
Tritanopia (blue-blind)
#4C3D51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552a81;
/* rgb */ color: rgb(85, 42, 129);
/* oklch */ color: oklch(38.9% 0.141 303.1);
Tailwind
colors: {
  custom: {
    50: '#8966a6',
    500: '#552a81',
    950: '#000000',
  },
}
SCSS
$custom: #552a81;
$custom-light: #8966a6;
$custom-dark: #000000;
JSON
{
  "hex": "#552a81",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 129
  },
  "hsl": {
    "h": 269.655,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.14101,
    "h": 303.1
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#552A81
secondary
#84AF57
accent
#DA4D95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552A81

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

Preview Lab → · Contrast checker → · Palette generator →

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