#552EAA#552EAA

#552EAA is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.185 H 290.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#552EAA
RGBrgb(85, 46, 170)
HSLhsl(259, 57%, 42%)
HSVhsv(259, 73%, 67%)
CMYKcmyk(50%, 72.9%, 0%, 33.3%)
CIE-LABlab(31.32, 46.72, -60.09)
CIE-LCHlch(31.32, 76.12, 307.86°)
OKLaboklab(42.86% 0.0658 -0.1725)
OKLCHoklch(42.86% 0.185 290.9)
XYZxyz(11.9769, 6.7871, 38.7014)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EAA #83AA2E
analogous
#2E45AA #552EAA #932EAA
triadic
#552EAA #AA552E #2EAA55
tetradic
#552EAA #AA2E45 #83AA2E #2EAA93
square
#552EAA #AA2E45 #83AA2E #2EAA93
split-complementary
#552EAA #AA932E #45AA2E
monochromatic
#25144A #3D217A #552EAA #7248CD #9778DA

Accessibility & contrast

On white

8.91
#552EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#552EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EAA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EAA#FFFFFF#000000##FFFFFF
##552EAA1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#384F69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #552eaa;
/* rgb */ color: rgb(85, 46, 170);
/* oklch */ color: oklch(42.9% 0.185 290.9);
Tailwind
colors: {
  custom: {
    50: '#8d6ac4',
    500: '#552eaa',
    950: '#000000',
  },
}
SCSS
$custom: #552eaa;
$custom-light: #8d6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#552eaa",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 258.871,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.18461,
    "h": 290.9
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#552EAA
secondary
#A9C371
accent
#E147B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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