#552A8E#552A8E

#552A8E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.156 H 298.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#552A8E
RGBrgb(85, 42, 142)
HSLhsl(266, 54%, 36%)
HSVhsv(266, 70%, 56%)
CMYKcmyk(40.1%, 70.4%, 0%, 44.3%)
CIE-LABlab(28.22, 41.07, -48.09)
CIE-LCHlch(28.22, 63.24, 310.50°)
OKLaboklab(39.93% 0.0753 -0.1372)
OKLCHoklch(39.93% 0.156 298.8)
XYZxyz(9.4555, 5.5401, 26.1571)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A8E #638E2A
analogous
#2A318E #552A8E #872A8E
triadic
#552A8E #8E552A #2A8E55
tetradic
#552A8E #8E2A31 #638E2A #2A8E87
square
#552A8E #8E2A31 #638E2A #2A8E87
split-complementary
#552A8E #8E872A #318E2A
monochromatic
#1C0E30 #391C5F #552A8E #7138BD #9162D1

Accessibility & contrast

On white

9.96
#552A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552A8E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A8E#FFFFFF#000000##FFFFFF
##552A8E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#484258
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552a8e;
/* rgb */ color: rgb(85, 42, 142);
/* oklch */ color: oklch(39.9% 0.156 298.8);
Tailwind
colors: {
  custom: {
    50: '#8a67b0',
    500: '#552a8e',
    950: '#000000',
  },
}
SCSS
$custom: #552a8e;
$custom-light: #8a67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#552a8e",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 265.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39931,
    "c": 0.15649,
    "h": 298.8
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#552A8E
secondary
#90B65D
accent
#DE4A9E
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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