#552A96#552A96

#552A96 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.166 H 296.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#552A96
RGBrgb(85, 42, 150)
HSLhsl(264, 56%, 38%)
HSVhsv(264, 72%, 59%)
CMYKcmyk(43.3%, 72%, 0%, 41.2%)
CIE-LABlab(28.87, 43.23, -51.95)
CIE-LCHlch(28.87, 67.59, 309.77°)
OKLaboklab(40.6% 0.0738 -0.1485)
OKLCHoklch(40.6% 0.166 296.4)
XYZxyz(10.0778, 5.7890, 29.4347)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A96 #6B962A
analogous
#2A3596 #552A96 #8B2A96
triadic
#552A96 #96552A #2A9655
tetradic
#552A96 #962A35 #6B962A #2A968B
square
#552A96 #962A35 #6B962A #2A968B
split-complementary
#552A96 #968B2A #35962A
monochromatic
#1F0F36 #3A1D66 #552A96 #7037C6 #9266D4

Accessibility & contrast

On white

9.73
#552A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#552A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A96
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A96#FFFFFF#000000##FFFFFF
##552A961.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#44455D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552a96;
/* rgb */ color: rgb(85, 42, 150);
/* oklch */ color: oklch(40.6% 0.166 296.4);
Tailwind
colors: {
  custom: {
    50: '#8b67b6',
    500: '#552a96',
    950: '#000000',
  },
}
SCSS
$custom: #552a96;
$custom-light: #8b67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#552a96",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 263.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.406,
    "c": 0.16589,
    "h": 296.4
  },
  "luminance": 0.05789
}

Semantic roles & 50–950 ramp

primary
#552A96
secondary
#97BA61
accent
#E048A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #552A96

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

Preview Lab → · Contrast checker → · Palette generator →

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