#552A8D#552A8D

#552A8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.155 H 299.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#552A8D
RGBrgb(85, 42, 141)
HSLhsl(266, 54%, 36%)
HSVhsv(266, 70%, 55%)
CMYKcmyk(39.7%, 70.2%, 0%, 44.7%)
CIE-LABlab(28.14, 40.80, -47.60)
CIE-LCHlch(28.14, 62.69, 310.60°)
OKLaboklab(39.85% 0.0754 -0.1357)
OKLCHoklch(39.85% 0.155 299.1)
XYZxyz(9.3808, 5.5102, 25.7635)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A8D #628D2A
analogous
#2A308D #552A8D #862A8D
triadic
#552A8D #8D552A #2A8D55
tetradic
#552A8D #8D2A30 #628D2A #2A8D86
square
#552A8D #8D2A30 #628D2A #2A8D86
split-complementary
#552A8D #8D862A #308D2A
monochromatic
#1C0E2F #391C5E #552A8D #7138BC #9161D0

Accessibility & contrast

On white

9.99
#552A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#552A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A8D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A8D#FFFFFF#000000##FFFFFF
##552A8D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#484258
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552a8d;
/* rgb */ color: rgb(85, 42, 141);
/* oklch */ color: oklch(39.8% 0.155 299.1);
Tailwind
colors: {
  custom: {
    50: '#8a67af',
    500: '#552a8d',
    950: '#000000',
  },
}
SCSS
$custom: #552a8d;
$custom-light: #8a67af;
$custom-dark: #000000;
JSON
{
  "hex": "#552a8d",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 266.061,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39849,
    "c": 0.1553,
    "h": 299.1
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#552A8D
secondary
#8FB65D
accent
#DD4A9E
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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