#552D7C#552D7C

#552D7C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.130 H 304.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#552D7C
RGBrgb(85, 45, 124)
HSLhsl(270, 47%, 33%)
HSVhsv(270, 64%, 49%)
CMYKcmyk(31.5%, 63.7%, 0%, 51.4%)
CIE-LABlab(27.47, 34.64, -38.06)
CIE-LCHlch(27.47, 51.46, 312.31°)
OKLaboklab(38.96% 0.0735 -0.1077)
OKLCHoklch(38.96% 0.13 304.3)
XYZxyz(8.3220, 5.2633, 19.6424)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D7C #547C2D
analogous
#2D2D7C #552D7C #7C2D7B
triadic
#552D7C #7C552D #2D7C55
tetradic
#552D7C #7C2D2D #547C2D #2D7B7C
square
#552D7C #7C2D2D #547C2D #2D7B7C
split-complementary
#552D7C #7B7C2D #2D7C2D
monochromatic
#170C22 #361D4F #552D7C #743DA9 #925FC5

Accessibility & contrast

On white

10.23
#552D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#552D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D7C
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D7C#FFFFFF#000000##FFFFFF
##552D7C1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407E
Deuteranopia (green-blind)
#19417A
Tritanopia (blue-blind)
#4E3D50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552d7c;
/* rgb */ color: rgb(85, 45, 124);
/* oklch */ color: oklch(39.0% 0.130 304.3);
Tailwind
colors: {
  custom: {
    50: '#8868a2',
    500: '#552d7c',
    950: '#000000',
  },
}
SCSS
$custom: #552d7c;
$custom-light: #8868a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552d7c",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 270.38,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.13043,
    "h": 304.3
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#552D7C
secondary
#82AB5A
accent
#D65193
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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