#552A7D#552A7D

#552A7D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.136 H 304.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#552A7D
RGBrgb(85, 42, 125)
HSLhsl(271, 50%, 33%)
HSVhsv(271, 66%, 49%)
CMYKcmyk(32%, 66.4%, 0%, 51%)
CIE-LABlab(26.93, 36.57, -39.56)
CIE-LCHlch(26.93, 53.88, 312.75°)
OKLaboklab(38.59% 0.0773 -0.1121)
OKLCHoklch(38.59% 0.136 304.6)
XYZxyz(8.2751, 5.0679, 19.9403)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A7D #527D2A
analogous
#2B2A7D #552A7D #7D2A7C
triadic
#552A7D #7D552A #2A7D55
tetradic
#552A7D #7D2B2A #527D2A #2A7C7D
square
#552A7D #7D2B2A #527D2A #2A7C7D
split-complementary
#552A7D #7C7D2A #2A7D2B
monochromatic
#170B21 #361B4F #552A7D #7439AB #935AC8

Accessibility & contrast

On white

10.43
#552A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552A7D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A7D#FFFFFF#000000##FFFFFF
##552A7D1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#13407B
Tritanopia (blue-blind)
#4E3C4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552a7d;
/* rgb */ color: rgb(85, 42, 125);
/* oklch */ color: oklch(38.6% 0.136 304.6);
Tailwind
colors: {
  custom: {
    50: '#8866a3',
    500: '#552a7d',
    950: '#000000',
  },
}
SCSS
$custom: #552a7d;
$custom-light: #8866a3;
$custom-dark: #000000;
JSON
{
  "hex": "#552a7d",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 271.084,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38593,
    "c": 0.13622,
    "h": 304.6
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#552A7D
secondary
#80AD56
accent
#D94F91
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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