#552A7B#552A7B

#552A7B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.134 H 305.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#552A7B
RGBrgb(85, 42, 123)
HSLhsl(272, 49%, 32%)
HSVhsv(272, 66%, 48%)
CMYKcmyk(30.9%, 65.9%, 0%, 51.8%)
CIE-LABlab(26.78, 36.06, -38.53)
CIE-LCHlch(26.78, 52.77, 313.10°)
OKLaboklab(38.44% 0.0775 -0.1091)
OKLCHoklch(38.44% 0.134 305.4)
XYZxyz(8.1486, 5.0173, 19.2742)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A7B #507B2A
analogous
#2D2A7B #552A7B #7B2A79
triadic
#552A7B #7B552A #2A7B55
tetradic
#552A7B #7B2D2A #507B2A #2A797B
square
#552A7B #7B2D2A #507B2A #2A797B
split-complementary
#552A7B #797B2A #2A7B2D
monochromatic
#160B20 #351A4D #552A7B #753AA9 #9359C6

Accessibility & contrast

On white

10.48
#552A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#552A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A7B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A7B#FFFFFF#000000##FFFFFF
##552A7B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#163F79
Tritanopia (blue-blind)
#4E3B4E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #552a7b;
/* rgb */ color: rgb(85, 42, 123);
/* oklch */ color: oklch(38.4% 0.134 305.4);
Tailwind
colors: {
  custom: {
    50: '#8866a2',
    500: '#552a7b',
    950: '#000000',
  },
}
SCSS
$custom: #552a7b;
$custom-light: #8866a2;
$custom-dark: #000000;
JSON
{
  "hex": "#552a7b",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 271.852,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38444,
    "c": 0.13381,
    "h": 305.4
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#552A7B
secondary
#7EAC55
accent
#D94F90
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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