#552A71#552A71

#552A71 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.122 H 309.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#552A71
RGBrgb(85, 42, 113)
HSLhsl(276, 46%, 30%)
HSVhsv(276, 63%, 44%)
CMYKcmyk(24.8%, 62.8%, 0%, 55.7%)
CIE-LABlab(26.10, 33.52, -33.27)
CIE-LCHlch(26.10, 47.23, 315.21°)
OKLaboklab(37.73% 0.0778 -0.0937)
OKLCHoklch(37.73% 0.122 309.7)
XYZxyz(7.5543, 4.7796, 16.1442)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A71 #46712A
analogous
#312A71 #552A71 #712A69
triadic
#552A71 #71552A #2A7155
tetradic
#552A71 #71312A #46712A #2A6971
square
#552A71 #71312A #46712A #2A6971
split-complementary
#552A71 #69712A #2A7131
monochromatic
#120918 #331944 #552A71 #773B9E #9655C0

Accessibility & contrast

On white

10.74
#552A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552A71
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A71#FFFFFF#000000##FFFFFF
##552A711.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#223E6F
Tritanopia (blue-blind)
#513749
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #552a71;
/* rgb */ color: rgb(85, 42, 113);
/* oklch */ color: oklch(37.7% 0.122 309.7);
Tailwind
colors: {
  custom: {
    50: '#87669a',
    500: '#552a71',
    950: '#000000',
  },
}
SCSS
$custom: #552a71;
$custom-light: #87669a;
$custom-dark: #000000;
JSON
{
  "hex": "#552a71",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 276.338,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37726,
    "c": 0.12179,
    "h": 309.7
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#552A71
secondary
#73A354
accent
#D55286
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #552A71

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

Preview Lab → · Contrast checker → · Palette generator →

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