#552A78#552A78

#552A78 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.130 H 306.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#552A78
RGBrgb(85, 42, 120)
HSLhsl(273, 48%, 32%)
HSVhsv(273, 65%, 47%)
CMYKcmyk(29.2%, 65%, 0%, 52.9%)
CIE-LABlab(26.57, 35.29, -36.97)
CIE-LCHlch(26.57, 51.11, 313.66°)
OKLaboklab(38.22% 0.0777 -0.1045)
OKLCHoklch(38.22% 0.13 306.6)
XYZxyz(7.9637, 4.9434, 18.3003)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A78 #4D782A
analogous
#2E2A78 #552A78 #782A74
triadic
#552A78 #78552A #2A7855
tetradic
#552A78 #782E2A #4D782A #2A7478
square
#552A78 #782E2A #4D782A #2A7478
split-complementary
#552A78 #74782A #2A782E
monochromatic
#150A1D #351A4B #552A78 #753AA5 #9458C5

Accessibility & contrast

On white

10.56
#552A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#552A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A78
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A78#FFFFFF#000000##FFFFFF
##552A781.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#1A3F76
Tritanopia (blue-blind)
#4F3A4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #552a78;
/* rgb */ color: rgb(85, 42, 120);
/* oklch */ color: oklch(38.2% 0.130 306.6);
Tailwind
colors: {
  custom: {
    50: '#88669f',
    500: '#552a78',
    950: '#000000',
  },
}
SCSS
$custom: #552a78;
$custom-light: #88669f;
$custom-dark: #000000;
JSON
{
  "hex": "#552a78",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 273.077,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38224,
    "c": 0.13021,
    "h": 306.6
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#552A78
secondary
#7BAA54
accent
#D8508D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #552A78

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

Preview Lab → · Contrast checker → · Palette generator →

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