#552C81#552C81

#552C81 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.138 H 302.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#552C81
RGBrgb(85, 44, 129)
HSLhsl(269, 49%, 34%)
HSVhsv(269, 66%, 51%)
CMYKcmyk(34.1%, 65.9%, 0%, 49.4%)
CIE-LABlab(27.62, 36.52, -40.96)
CIE-LCHlch(27.62, 54.88, 311.72°)
OKLaboklab(39.19% 0.0745 -0.1162)
OKLCHoklch(39.19% 0.138 302.7)
XYZxyz(8.6085, 5.3176, 21.3375)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C81 #58812C
analogous
#2C2E81 #552C81 #802C81
triadic
#552C81 #81552C #2C8155
tetradic
#552C81 #812C2E #58812C #2C8180
square
#552C81 #812C2E #58812C #2C8180
split-complementary
#552C81 #81802C #2E812C
monochromatic
#190D26 #371C53 #552C81 #733CAF #925FC8

Accessibility & contrast

On white

10.18
#552C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#552C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552C81
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C81#FFFFFF#000000##FFFFFF
##552C811.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552c81;
/* rgb */ color: rgb(85, 44, 129);
/* oklch */ color: oklch(39.2% 0.138 302.7);
Tailwind
colors: {
  custom: {
    50: '#8868a6',
    500: '#552c81',
    950: '#000000',
  },
}
SCSS
$custom: #552c81;
$custom-light: #8868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#552c81",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 268.941,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39187,
    "c": 0.13809,
    "h": 302.7
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#552C81
secondary
#86AF5A
accent
#D94F96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552C81

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

Preview Lab → · Contrast checker → · Palette generator →

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