#552CAB#552CAB

#552CAB is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.188 H 291.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#552CAB
RGBrgb(85, 44, 171)
HSLhsl(259, 59%, 42%)
HSVhsv(259, 74%, 67%)
CMYKcmyk(50.3%, 74.3%, 0%, 32.9%)
CIE-LABlab(31.05, 48.00, -61.13)
CIE-LCHlch(31.05, 77.72, 308.14°)
OKLaboklab(42.7% 0.0673 -0.1755)
OKLCHoklch(42.7% 0.188 291)
XYZxyz(11.9956, 6.6725, 39.1760)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552CAB #82AB2C
analogous
#2C43AB #552CAB #952CAB
triadic
#552CAB #AB552C #2CAB55
tetradic
#552CAB #AB2C43 #82AB2C #2CAB95
square
#552CAB #AB2C43 #82AB2C #2CAB95
split-complementary
#552CAB #AB952C #43AB2C
monochromatic
#25134A #3D1F7A #552CAB #7245CF #9776DC

Accessibility & contrast

On white

9.00
#552CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#552CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552CAB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552CAB#FFFFFF#000000##FFFFFF
##552CAB1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#384E69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552cab;
/* rgb */ color: rgb(85, 44, 171);
/* oklch */ color: oklch(42.7% 0.188 291.0);
Tailwind
colors: {
  custom: {
    50: '#8e69c5',
    500: '#552cab',
    950: '#000000',
  },
}
SCSS
$custom: #552cab;
$custom-light: #8e69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#552cab",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 259.37,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42702,
    "c": 0.18799,
    "h": 291
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#552CAB
secondary
#A8C36F
accent
#E246B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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