#552E81#552E81

#552E81 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.135 H 302.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#552E81
RGBrgb(85, 46, 129)
HSLhsl(268, 47%, 34%)
HSVhsv(268, 64%, 51%)
CMYKcmyk(34.1%, 64.3%, 0%, 49.4%)
CIE-LABlab(28.03, 35.40, -40.29)
CIE-LCHlch(28.03, 53.64, 311.30°)
OKLaboklab(39.49% 0.072 -0.1143)
OKLCHoklch(39.49% 0.135 302.2)
XYZxyz(8.6848, 5.4702, 21.3629)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E81 #5A812E
analogous
#2E3081 #552E81 #7F2E81
triadic
#552E81 #81552E #2E8155
tetradic
#552E81 #812E30 #5A812E #2E817F
square
#552E81 #812E30 #5A812E #2E817F
split-complementary
#552E81 #817F2E #30812E
monochromatic
#1A0E27 #371E54 #552E81 #733EAE #9262C7

Accessibility & contrast

On white

10.03
#552E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#552E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E81
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E81#FFFFFF#000000##FFFFFF
##552E811.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#14427F
Tritanopia (blue-blind)
#4C4053
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552e81;
/* rgb */ color: rgb(85, 46, 129);
/* oklch */ color: oklch(39.5% 0.135 302.2);
Tailwind
colors: {
  custom: {
    50: '#8869a6',
    500: '#552e81',
    950: '#000000',
  },
}
SCSS
$custom: #552e81;
$custom-light: #8869a6;
$custom-dark: #000000;
JSON
{
  "hex": "#552e81",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 268.193,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.13509,
    "h": 302.2
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#552E81
secondary
#88AE5D
accent
#D75198
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552E81

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

Preview Lab → · Contrast checker → · Palette generator →

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