#552D81#552D81

#552D81 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.137 H 302.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#552D81
RGBrgb(85, 45, 129)
HSLhsl(269, 48%, 34%)
HSVhsv(269, 65%, 51%)
CMYKcmyk(34.1%, 65.1%, 0%, 49.4%)
CIE-LABlab(27.83, 35.96, -40.63)
CIE-LCHlch(27.83, 54.26, 311.51°)
OKLaboklab(39.34% 0.0733 -0.1153)
OKLCHoklch(39.34% 0.137 302.4)
XYZxyz(8.6462, 5.3930, 21.3501)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D81 #59812D
analogous
#2D2F81 #552D81 #7F2D81
triadic
#552D81 #81552D #2D8155
tetradic
#552D81 #812D2F #59812D #2D817F
square
#552D81 #812D2F #59812D #2D817F
split-complementary
#552D81 #817F2D #2F812D
monochromatic
#190D26 #371D54 #552D81 #733DAE #9261C8

Accessibility & contrast

On white

10.10
#552D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552D81
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D81#FFFFFF#000000##FFFFFF
##552D811.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552d81;
/* rgb */ color: rgb(85, 45, 129);
/* oklch */ color: oklch(39.3% 0.137 302.4);
Tailwind
colors: {
  custom: {
    50: '#8868a6',
    500: '#552d81',
    950: '#000000',
  },
}
SCSS
$custom: #552d81;
$custom-light: #8868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#552d81",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 268.571,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39335,
    "c": 0.13659,
    "h": 302.4
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#552D81
secondary
#87AE5C
accent
#D85097
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552D81

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

Preview Lab → · Contrast checker → · Palette generator →

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