#552A8B#552A8B

#552A8B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.153 H 299.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#552A8B
RGBrgb(85, 42, 139)
HSLhsl(267, 54%, 35%)
HSVhsv(267, 70%, 55%)
CMYKcmyk(38.8%, 69.8%, 0%, 45.5%)
CIE-LABlab(27.98, 40.27, -46.61)
CIE-LCHlch(27.98, 61.60, 310.82°)
OKLaboklab(39.69% 0.0758 -0.1329)
OKLCHoklch(39.69% 0.153 299.7)
XYZxyz(9.2333, 5.4512, 24.9868)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A8B #608B2A
analogous
#2A2F8B #552A8B #852A8B
triadic
#552A8B #8B552A #2A8B55
tetradic
#552A8B #8B2A2F #608B2A #2A8B85
square
#552A8B #8B2A2F #608B2A #2A8B85
split-complementary
#552A8B #8B852A #2F8B2A
monochromatic
#1C0E2D #381C5C #552A8B #7238BA #9160CF

Accessibility & contrast

On white

10.05
#552A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#552A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A8B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A8B#FFFFFF#000000##FFFFFF
##552A8B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#494157
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552a8b;
/* rgb */ color: rgb(85, 42, 139);
/* oklch */ color: oklch(39.7% 0.153 299.7);
Tailwind
colors: {
  custom: {
    50: '#8a67ae',
    500: '#552a8b',
    950: '#000000',
  },
}
SCSS
$custom: #552a8b;
$custom-light: #8a67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#552a8b",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 266.598,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.15294,
    "h": 299.7
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#552A8B
secondary
#8DB55C
accent
#DD4B9C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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