#552C8C#552C8C

#552C8C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.151 H 299.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#552C8C
RGBrgb(85, 44, 140)
HSLhsl(266, 52%, 36%)
HSVhsv(266, 69%, 55%)
CMYKcmyk(39.3%, 68.6%, 0%, 45.1%)
CIE-LABlab(28.45, 39.47, -46.48)
CIE-LCHlch(28.45, 60.97, 310.34°)
OKLaboklab(40.04% 0.0734 -0.1325)
OKLCHoklch(40.04% 0.151 299)
XYZxyz(9.3794, 5.6260, 25.3976)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C8C #638C2C
analogous
#2C338C #552C8C #852C8C
triadic
#552C8C #8C552C #2C8C55
tetradic
#552C8C #8C2C33 #638C2C #2C8C85
square
#552C8C #8C2C33 #638C2C #2C8C85
split-complementary
#552C8C #8C852C #338C2C
monochromatic
#1C0F2F #391D5D #552C8C #713BBB #9164CE

Accessibility & contrast

On white

9.88
#552C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#552C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552C8C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C8C#FFFFFF#000000##FFFFFF
##552C8C1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#484258
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552c8c;
/* rgb */ color: rgb(85, 44, 140);
/* oklch */ color: oklch(40.0% 0.151 299.0);
Tailwind
colors: {
  custom: {
    50: '#8a68ae',
    500: '#552c8c',
    950: '#000000',
  },
}
SCSS
$custom: #552c8c;
$custom-light: #8a68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#552c8c",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 265.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.15142,
    "h": 299
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#552C8C
secondary
#90B55F
accent
#DC4C9E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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