#552A79#552A79

#552A79 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.131 H 306.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#552A79
RGBrgb(85, 42, 121)
HSLhsl(273, 48%, 32%)
HSVhsv(273, 65%, 47%)
CMYKcmyk(29.8%, 65.3%, 0%, 52.5%)
CIE-LABlab(26.64, 35.54, -37.49)
CIE-LCHlch(26.64, 51.66, 313.47°)
OKLaboklab(38.3% 0.0776 -0.106)
OKLCHoklch(38.3% 0.131 306.2)
XYZxyz(8.0247, 4.9678, 18.6216)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552A79 #4E792A
analogous
#2E2A79 #552A79 #792A76
triadic
#552A79 #79552A #2A7955
tetradic
#552A79 #792E2A #4E792A #2A7679
square
#552A79 #792E2A #4E792A #2A7679
split-complementary
#552A79 #76792A #2A792E
monochromatic
#150A1E #351A4C #552A79 #753AA6 #9458C5

Accessibility & contrast

On white

10.53
#552A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#552A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552A79
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552A79#FFFFFF#000000##FFFFFF
##552A791.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#193F77
Tritanopia (blue-blind)
#4F3A4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #552a79;
/* rgb */ color: rgb(85, 42, 121);
/* oklch */ color: oklch(38.3% 0.131 306.2);
Tailwind
colors: {
  custom: {
    50: '#8866a0',
    500: '#552a79',
    950: '#000000',
  },
}
SCSS
$custom: #552a79;
$custom-light: #8866a0;
$custom-dark: #000000;
JSON
{
  "hex": "#552a79",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 272.658,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.13141,
    "h": 306.2
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#552A79
secondary
#7CAB54
accent
#D8508E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #552A79

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

Preview Lab → · Contrast checker → · Palette generator →

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