#552A7C#552A7C

#552A7C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.135 H 305.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#552A7C
RGBrgb(85, 42, 124)
HSLhsl(271, 49%, 33%)
HSVhsv(271, 66%, 49%)
CMYKcmyk(31.5%, 66.1%, 0%, 51.4%)
CIE-LABlab(26.86, 36.32, -39.05)
CIE-LCHlch(26.86, 53.33, 312.92°)
OKLaboklab(38.52% 0.0774 -0.1106)
OKLCHoklch(38.52% 0.135 305)
XYZxyz(8.2116, 5.0425, 19.6056)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A7C #517C2A
analogous
#2C2A7C #552A7C #7C2A7A
triadic
#552A7C #7C552A #2A7C55
tetradic
#552A7C #7C2C2A #517C2A #2A7A7C
square
#552A7C #7C2C2A #517C2A #2A7A7C
split-complementary
#552A7C #7A7C2A #2A7C2C
monochromatic
#160B21 #361B4E #552A7C #7439AA #9359C7

Accessibility & contrast

On white

10.46
#552A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#552A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A7C
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A7C#FFFFFF#000000##FFFFFF
##552A7C1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#15407A
Tritanopia (blue-blind)
#4E3B4F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #552a7c;
/* rgb */ color: rgb(85, 42, 124);
/* oklch */ color: oklch(38.5% 0.135 305.0);
Tailwind
colors: {
  custom: {
    50: '#8866a2',
    500: '#552a7c',
    950: '#000000',
  },
}
SCSS
$custom: #552a7c;
$custom-light: #8866a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552a7c",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 271.463,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.13502,
    "h": 305
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#552A7C
secondary
#7FAD55
accent
#D94F91
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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