#552A89#552A89

#552A89 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.151 H 300.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#552A89
RGBrgb(85, 42, 137)
HSLhsl(267, 53%, 35%)
HSVhsv(267, 69%, 54%)
CMYKcmyk(38%, 69.3%, 0%, 46.3%)
CIE-LABlab(27.83, 39.73, -45.62)
CIE-LCHlch(27.83, 60.50, 311.05°)
OKLaboklab(39.53% 0.076 -0.1299)
OKLCHoklch(39.53% 0.151 300.3)
XYZxyz(9.0885, 5.3933, 24.2242)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A89 #5E892A
analogous
#2A2E89 #552A89 #852A89
triadic
#552A89 #89552A #2A8955
tetradic
#552A89 #892A2E #5E892A #2A8985
square
#552A89 #892A2E #5E892A #2A8985
split-complementary
#552A89 #89852A #2E892A
monochromatic
#1B0D2B #381C5A #552A89 #7238B8 #915FCE

Accessibility & contrast

On white

10.10
#552A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#552A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A89
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A89#FFFFFF#000000##FFFFFF
##552A891.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#4A4056
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552a89;
/* rgb */ color: rgb(85, 42, 137);
/* oklch */ color: oklch(39.5% 0.151 300.3);
Tailwind
colors: {
  custom: {
    50: '#8967ac',
    500: '#552a89',
    950: '#000000',
  },
}
SCSS
$custom: #552a89;
$custom-light: #8967ac;
$custom-dark: #000000;
JSON
{
  "hex": "#552a89",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 267.158,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39525,
    "c": 0.15056,
    "h": 300.3
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#552A89
secondary
#8CB45B
accent
#DC4B9B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552A89

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

Preview Lab → · Contrast checker → · Palette generator →

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