#552D8A#552D8A

#552D8A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.148 H 299.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#552D8A
RGBrgb(85, 45, 138)
HSLhsl(266, 51%, 36%)
HSVhsv(266, 67%, 54%)
CMYKcmyk(38.4%, 67.4%, 0%, 45.9%)
CIE-LABlab(28.49, 38.38, -45.17)
CIE-LCHlch(28.49, 59.27, 310.36°)
OKLaboklab(40.03% 0.0724 -0.1286)
OKLCHoklch(40.03% 0.148 299.4)
XYZxyz(9.2710, 5.6429, 24.6406)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D8A #628A2D
analogous
#2D338A #552D8A #832D8A
triadic
#552D8A #8A552D #2D8A55
tetradic
#552D8A #8A2D33 #628A2D #2D8A83
square
#552D8A #8A2D33 #628A2D #2D8A83
split-complementary
#552D8A #8A832D #338A2D
monochromatic
#1C0F2E #391E5C #552D8A #713CB8 #9165CD

Accessibility & contrast

On white

9.87
#552D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#552D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D8A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D8A#FFFFFF#000000##FFFFFF
##552D8A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#494257
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552d8a;
/* rgb */ color: rgb(85, 45, 138);
/* oklch */ color: oklch(40.0% 0.148 299.4);
Tailwind
colors: {
  custom: {
    50: '#8969ad',
    500: '#552d8a',
    950: '#000000',
  },
}
SCSS
$custom: #552d8a;
$custom-light: #8969ad;
$custom-dark: #000000;
JSON
{
  "hex": "#552d8a",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 265.806,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.14761,
    "h": 299.4
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#552D8A
secondary
#8FB360
accent
#DA4D9E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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