#552B7A#552B7A

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

Color values

HEX#552B7A
RGBrgb(85, 43, 122)
HSLhsl(272, 48%, 32%)
HSVhsv(272, 65%, 48%)
CMYKcmyk(30.3%, 64.8%, 0%, 52.2%)
CIE-LABlab(26.92, 35.25, -37.69)
CIE-LCHlch(26.92, 51.60, 313.09°)
OKLaboklab(38.52% 0.0763 -0.1066)
OKLCHoklch(38.52% 0.131 305.6)
XYZxyz(8.1223, 5.0642, 18.9582)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B7A #507A2B
analogous
#2E2B7A #552B7A #7A2B78
triadic
#552B7A #7A552B #2B7A55
tetradic
#552B7A #7A2E2B #507A2B #2B787A
square
#552B7A #7A2E2B #507A2B #2B787A
split-complementary
#552B7A #787A2B #2B7A2E
monochromatic
#160B1F #351B4D #552B7A #753BA7 #935AC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##552B7A#FFFFFF#000000##FFFFFF
##552B7A1.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)
#003E7C
Deuteranopia (green-blind)
#194078
Tritanopia (blue-blind)
#4F3B4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552b7a;
/* rgb */ color: rgb(85, 43, 122);
/* oklch */ color: oklch(38.5% 0.131 305.6);
Tailwind
colors: {
  custom: {
    50: '#8867a1',
    500: '#552b7a',
    950: '#000000',
  },
}
SCSS
$custom: #552b7a;
$custom-light: #8867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#552b7a",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 271.899,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.13108,
    "h": 305.6
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#552B7A
secondary
#7EAB56
accent
#D75090
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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