#552F81#552F81

#552F81 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.134 H 302.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#552F81
RGBrgb(85, 47, 129)
HSLhsl(268, 47%, 35%)
HSVhsv(268, 64%, 51%)
CMYKcmyk(34.1%, 63.6%, 0%, 49.4%)
CIE-LABlab(28.25, 34.83, -39.95)
CIE-LCHlch(28.25, 53.00, 311.08°)
OKLaboklab(39.64% 0.0707 -0.1133)
OKLCHoklch(39.64% 0.134 302)
XYZxyz(8.7243, 5.5493, 21.3761)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F81 #5B812F
analogous
#2F3281 #552F81 #7E2F81
triadic
#552F81 #81552F #2F8155
tetradic
#552F81 #812F32 #5B812F #2F817E
square
#552F81 #812F32 #5B812F #2F817E
split-complementary
#552F81 #817E2F #32812F
monochromatic
#1A0E27 #371F54 #552F81 #733FAE #9264C6

Accessibility & contrast

On white

9.95
#552F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#552F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F81
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F81#FFFFFF#000000##FFFFFF
##552F811.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#16427F
Tritanopia (blue-blind)
#4C4053
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552f81;
/* rgb */ color: rgb(85, 47, 129);
/* oklch */ color: oklch(39.6% 0.134 302.0);
Tailwind
colors: {
  custom: {
    50: '#886aa6',
    500: '#552f81',
    950: '#000000',
  },
}
SCSS
$custom: #552f81;
$custom-light: #886aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#552f81",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 267.805,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39639,
    "c": 0.13356,
    "h": 302
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#552F81
secondary
#89AD5E
accent
#D65299
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552F81

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

Preview Lab → · Contrast checker → · Palette generator →

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