#552A7A#552A7A

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

Color values

HEX#552A7A
RGBrgb(85, 42, 122)
HSLhsl(272, 49%, 32%)
HSVhsv(272, 66%, 48%)
CMYKcmyk(30.3%, 65.6%, 0%, 52.2%)
CIE-LABlab(26.71, 35.80, -38.01)
CIE-LCHlch(26.71, 52.22, 313.28°)
OKLaboklab(38.37% 0.0775 -0.1076)
OKLCHoklch(38.37% 0.133 305.8)
XYZxyz(8.0864, 4.9924, 18.9462)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A7A #4F7A2A
analogous
#2D2A7A #552A7A #7A2A77
triadic
#552A7A #7A552A #2A7A55
tetradic
#552A7A #7A2D2A #4F7A2A #2A777A
square
#552A7A #7A2D2A #4F7A2A #2A777A
split-complementary
#552A7A #777A2A #2A7A2D
monochromatic
#160B1F #351A4C #552A7A #753AA8 #9359C6

Accessibility & contrast

On white

10.51
#552A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552A7A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A7A#FFFFFF#000000##FFFFFF
##552A7A1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#183F78
Tritanopia (blue-blind)
#4F3B4E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #552a7a;
/* rgb */ color: rgb(85, 42, 122);
/* oklch */ color: oklch(38.4% 0.133 305.8);
Tailwind
colors: {
  custom: {
    50: '#8866a1',
    500: '#552a7a',
    950: '#000000',
  },
}
SCSS
$custom: #552a7a;
$custom-light: #8866a1;
$custom-dark: #000000;
JSON
{
  "hex": "#552a7a",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 272.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.13262,
    "h": 305.8
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#552A7A
secondary
#7DAB55
accent
#D84F8F
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #552A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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