#552EAB#552EAB

#552EAB is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.186 H 290.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#552EAB
RGBrgb(85, 46, 171)
HSLhsl(259, 58%, 43%)
HSVhsv(259, 73%, 67%)
CMYKcmyk(50.3%, 73.1%, 0%, 32.9%)
CIE-LABlab(31.41, 47.00, -60.55)
CIE-LCHlch(31.41, 76.65, 307.82°)
OKLaboklab(42.95% 0.0656 -0.1738)
OKLCHoklch(42.95% 0.186 290.7)
XYZxyz(12.0719, 6.8251, 39.2015)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EAB #84AB2E
analogous
#2E45AB #552EAB #942EAB
triadic
#552EAB #AB552E #2EAB55
tetradic
#552EAB #AB2E45 #84AB2E #2EAB94
square
#552EAB #AB2E45 #84AB2E #2EAB94
split-complementary
#552EAB #AB942E #45AB2E
monochromatic
#25144B #3D217B #552EAB #7248CE #9779DB

Accessibility & contrast

On white

8.88
#552EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#552EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EAB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EAB#FFFFFF#000000##FFFFFF
##552EAB1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#384F6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #552eab;
/* rgb */ color: rgb(85, 46, 171);
/* oklch */ color: oklch(43.0% 0.186 290.7);
Tailwind
colors: {
  custom: {
    50: '#8d6ac5',
    500: '#552eab',
    950: '#000000',
  },
}
SCSS
$custom: #552eab;
$custom-light: #8d6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#552eab",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 258.72,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42954,
    "c": 0.18578,
    "h": 290.7
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#552EAB
secondary
#AAC372
accent
#E147B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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