#552A8F#552A8F

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

Color values

HEX#552A8F
RGBrgb(85, 42, 143)
HSLhsl(266, 55%, 36%)
HSVhsv(266, 71%, 56%)
CMYKcmyk(40.6%, 70.6%, 0%, 43.9%)
CIE-LABlab(28.30, 41.34, -48.57)
CIE-LCHlch(28.30, 63.78, 310.40°)
OKLaboklab(40.01% 0.0751 -0.1386)
OKLCHoklch(40.01% 0.158 298.5)
XYZxyz(9.5309, 5.5703, 26.5543)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A8F #648F2A
analogous
#2A318F #552A8F #882A8F
triadic
#552A8F #8F552A #2A8F55
tetradic
#552A8F #8F2A31 #648F2A #2A8F88
square
#552A8F #8F2A31 #648F2A #2A8F88
split-complementary
#552A8F #8F882A #318F2A
monochromatic
#1D0E30 #391C60 #552A8F #7138BE #9162D1

Accessibility & contrast

On white

9.93
#552A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#552A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A8F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A8F#FFFFFF#000000##FFFFFF
##552A8F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#474259
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552a8f;
/* rgb */ color: rgb(85, 42, 143);
/* oklch */ color: oklch(40.0% 0.158 298.5);
Tailwind
colors: {
  custom: {
    50: '#8a67b1',
    500: '#552a8f',
    950: '#000000',
  },
}
SCSS
$custom: #552a8f;
$custom-light: #8a67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#552a8f",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 265.545,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.15766,
    "h": 298.5
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#552A8F
secondary
#91B75E
accent
#DE4A9F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #552A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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