#552D82#552D82

#552D82 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.138 H 302.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#552D82
RGBrgb(85, 45, 130)
HSLhsl(268, 49%, 34%)
HSVhsv(268, 65%, 51%)
CMYKcmyk(34.6%, 65.4%, 0%, 49%)
CIE-LABlab(27.90, 36.23, -41.14)
CIE-LCHlch(27.90, 54.82, 311.37°)
OKLaboklab(39.41% 0.0732 -0.1168)
OKLCHoklch(39.41% 0.138 302.1)
XYZxyz(8.7130, 5.4198, 21.7019)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D82 #5A822D
analogous
#2D3082 #552D82 #802D82
triadic
#552D82 #82552D #2D8255
tetradic
#552D82 #822D30 #5A822D #2D8280
square
#552D82 #822D30 #5A822D #2D8280
split-complementary
#552D82 #82802D #30822D
monochromatic
#1A0E27 #371D55 #552D82 #733DAF #9261C8

Accessibility & contrast

On white

10.08
#552D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#552D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D82
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D82#FFFFFF#000000##FFFFFF
##552D821.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#104280
Tritanopia (blue-blind)
#4C3F53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552d82;
/* rgb */ color: rgb(85, 45, 130);
/* oklch */ color: oklch(39.4% 0.138 302.1);
Tailwind
colors: {
  custom: {
    50: '#8868a7',
    500: '#552d82',
    950: '#000000',
  },
}
SCSS
$custom: #552d82;
$custom-light: #8868a7;
$custom-dark: #000000;
JSON
{
  "hex": "#552d82",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 268.235,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.13783,
    "h": 302.1
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#552D82
secondary
#88AF5C
accent
#D85098
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552D82

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

Preview Lab → · Contrast checker → · Palette generator →

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