#552B81#552B81

#552B81 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.140 H 302.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#552B81
RGBrgb(85, 43, 129)
HSLhsl(269, 50%, 34%)
HSVhsv(269, 67%, 51%)
CMYKcmyk(34.1%, 66.7%, 0%, 49.4%)
CIE-LABlab(27.42, 37.07, -41.29)
CIE-LCHlch(27.42, 55.49, 311.92°)
OKLaboklab(39.04% 0.0758 -0.1172)
OKLCHoklch(39.04% 0.14 302.9)
XYZxyz(8.5717, 5.2440, 21.3252)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B81 #57812B
analogous
#2B2C81 #552B81 #802B81
triadic
#552B81 #81552B #2B8155
tetradic
#552B81 #812B2C #57812B #2B8180
square
#552B81 #812B2C #57812B #2B8180
split-complementary
#552B81 #81802B #2C812B
monochromatic
#190C25 #371C53 #552B81 #733AAF #925DC9

Accessibility & contrast

On white

10.25
#552B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552B81
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552B81#FFFFFF#000000##FFFFFF
##552B811.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#0D417F
Tritanopia (blue-blind)
#4C3E52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552b81;
/* rgb */ color: rgb(85, 43, 129);
/* oklch */ color: oklch(39.0% 0.140 302.9);
Tailwind
colors: {
  custom: {
    50: '#8967a6',
    500: '#552b81',
    950: '#000000',
  },
}
SCSS
$custom: #552b81;
$custom-light: #8967a6;
$custom-dark: #000000;
JSON
{
  "hex": "#552b81",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 269.302,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39041,
    "c": 0.13956,
    "h": 302.9
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#552B81
secondary
#85AF59
accent
#DA4E96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552B81

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

Preview Lab → · Contrast checker → · Palette generator →

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