#552C8E#552C8E

#552C8E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.154 H 298.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#552C8E
RGBrgb(85, 44, 142)
HSLhsl(265, 53%, 36%)
HSVhsv(265, 69%, 56%)
CMYKcmyk(40.1%, 69%, 0%, 44.3%)
CIE-LABlab(28.60, 40.01, -47.46)
CIE-LCHlch(28.60, 62.08, 310.13°)
OKLaboklab(40.21% 0.0731 -0.1354)
OKLCHoklch(40.21% 0.154 298.4)
XYZxyz(9.5282, 5.6855, 26.1814)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552C8E #658E2C
analogous
#2C348E #552C8E #862C8E
triadic
#552C8E #8E552C #2C8E55
tetradic
#552C8E #8E2C34 #658E2C #2C8E86
square
#552C8E #8E2C34 #658E2C #2C8E86
split-complementary
#552C8E #8E862C #348E2C
monochromatic
#1D0F31 #391E5F #552C8E #713ABD #9265CF

Accessibility & contrast

On white

9.83
#552C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#552C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552C8E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552C8E#FFFFFF#000000##FFFFFF
##552C8E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#474359
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552c8e;
/* rgb */ color: rgb(85, 44, 142);
/* oklch */ color: oklch(40.2% 0.154 298.4);
Tailwind
colors: {
  custom: {
    50: '#8a68b0',
    500: '#552c8e',
    950: '#000000',
  },
}
SCSS
$custom: #552c8e;
$custom-light: #8a68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#552c8e",
  "rgb": {
    "r": 85,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 265.102,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.15382,
    "h": 298.4
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#552C8E
secondary
#92B660
accent
#DC4CA0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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