#552A72#552A72

#552A72 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.123 H 309.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#552A72
RGBrgb(85, 42, 114)
HSLhsl(276, 46%, 31%)
HSVhsv(276, 63%, 45%)
CMYKcmyk(25.4%, 63.2%, 0%, 55.3%)
CIE-LABlab(26.16, 33.77, -33.81)
CIE-LCHlch(26.16, 47.78, 314.97°)
OKLaboklab(37.8% 0.0778 -0.0952)
OKLCHoklch(37.8% 0.123 309.3)
XYZxyz(7.6109, 4.8023, 16.4423)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A72 #47722A
analogous
#312A72 #552A72 #722A6B
triadic
#552A72 #72552A #2A7255
tetradic
#552A72 #72312A #47722A #2A6B72
square
#552A72 #72312A #47722A #2A6B72
split-complementary
#552A72 #6B722A #2A7231
monochromatic
#120919 #341A45 #552A72 #763A9F #9656C1

Accessibility & contrast

On white

10.71
#552A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#552A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A72
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A72#FFFFFF#000000##FFFFFF
##552A721.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C74
Deuteranopia (green-blind)
#213F70
Tritanopia (blue-blind)
#51384A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #552a72;
/* rgb */ color: rgb(85, 42, 114);
/* oklch */ color: oklch(37.8% 0.123 309.3);
Tailwind
colors: {
  custom: {
    50: '#87669b',
    500: '#552a72',
    950: '#000000',
  },
}
SCSS
$custom: #552a72;
$custom-light: #87669b;
$custom-dark: #000000;
JSON
{
  "hex": "#552a72",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 275.833,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37795,
    "c": 0.12299,
    "h": 309.3
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#552A72
secondary
#74A454
accent
#D65287
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #552A72

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

Preview Lab → · Contrast checker → · Palette generator →

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