#552D79#552D79

#552D79 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.127 H 305.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#552D79
RGBrgb(85, 45, 121)
HSLhsl(272, 46%, 33%)
HSVhsv(272, 63%, 47%)
CMYKcmyk(29.8%, 62.8%, 0%, 52.5%)
CIE-LABlab(27.27, 33.86, -36.49)
CIE-LCHlch(27.27, 49.78, 312.86°)
OKLaboklab(38.75% 0.0736 -0.1031)
OKLCHoklch(38.75% 0.127 305.5)
XYZxyz(8.1351, 5.1886, 18.6584)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D79 #51792D
analogous
#2F2D79 #552D79 #792D77
triadic
#552D79 #79552D #2D7955
tetradic
#552D79 #792F2D #51792D #2D7779
square
#552D79 #792F2D #51792D #2D7779
split-complementary
#552D79 #77792D #2D792F
monochromatic
#160C20 #361C4C #552D79 #743EA6 #935DC3

Accessibility & contrast

On white

10.31
#552D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#552D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D79
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D79#FFFFFF#000000##FFFFFF
##552D791.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7B
Deuteranopia (green-blind)
#1D4177
Tritanopia (blue-blind)
#4F3C4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552d79;
/* rgb */ color: rgb(85, 45, 121);
/* oklch */ color: oklch(38.7% 0.127 305.5);
Tailwind
colors: {
  custom: {
    50: '#8868a0',
    500: '#552d79',
    950: '#000000',
  },
}
SCSS
$custom: #552d79;
$custom-light: #8868a0;
$custom-dark: #000000;
JSON
{
  "hex": "#552d79",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 271.579,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38749,
    "c": 0.12672,
    "h": 305.5
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#552D79
secondary
#7FA958
accent
#D55290
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #552D79

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

Preview Lab → · Contrast checker → · Palette generator →

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