#552F82#552F82

#552F82 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.135 H 301.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#552F82
RGBrgb(85, 47, 130)
HSLhsl(267, 47%, 35%)
HSVhsv(267, 64%, 51%)
CMYKcmyk(34.6%, 63.8%, 0%, 49%)
CIE-LABlab(28.32, 35.10, -40.47)
CIE-LCHlch(28.32, 53.57, 310.94°)
OKLaboklab(39.71% 0.0707 -0.1148)
OKLCHoklch(39.71% 0.135 301.6)
XYZxyz(8.7911, 5.5760, 21.7279)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F82 #5C822F
analogous
#2F3282 #552F82 #7F2F82
triadic
#552F82 #82552F #2F8255
tetradic
#552F82 #822F32 #5C822F #2F827F
square
#552F82 #822F32 #5C822F #2F827F
split-complementary
#552F82 #827F2F #32822F
monochromatic
#1A0E28 #381F55 #552F82 #723FAF #9264C7

Accessibility & contrast

On white

9.93
#552F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#552F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F82
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F82#FFFFFF#000000##FFFFFF
##552F821.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#144280
Tritanopia (blue-blind)
#4C4154
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552f82;
/* rgb */ color: rgb(85, 47, 130);
/* oklch */ color: oklch(39.7% 0.135 301.6);
Tailwind
colors: {
  custom: {
    50: '#886aa7',
    500: '#552f82',
    950: '#000000',
  },
}
SCSS
$custom: #552f82;
$custom-light: #886aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#552f82",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 267.47,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.13481,
    "h": 301.6
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#552F82
secondary
#8AAE5F
accent
#D7519A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552F82

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

Preview Lab → · Contrast checker → · Palette generator →

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