#552152#552152

#552152 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.4% C 0.103 H 329.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#552152
RGBrgb(85, 33, 82)
HSLhsl(303, 44%, 23%)
HSVhsv(303, 61%, 33%)
CMYKcmyk(0%, 61.2%, 3.5%, 66.7%)
CIE-LABlab(22.40, 31.46, -18.84)
CIE-LCHlch(22.40, 36.68, 329.08°)
OKLaboklab(34.42% 0.0888 -0.0517)
OKLCHoklch(34.42% 0.103 329.8)
XYZxyz(5.8131, 3.6286, 8.3752)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552152 #215524
analogous
#3E2155 #552152 #552138
triadic
#552152 #525521 #215255
tetradic
#552152 #553E21 #215524 #213855
square
#552152 #553E21 #215524 #213855
split-complementary
#552152 #385521 #21553E
monochromatic
#160915 #291027 #552152 #81327D #AD43A7

Accessibility & contrast

On white

12.17
#552152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#552152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552152
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552152#FFFFFF#000000##FFFFFF
##5521521.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#2E3851
Tritanopia (blue-blind)
#582636
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #552152;
/* rgb */ color: rgb(85, 33, 82);
/* oklch */ color: oklch(34.4% 0.103 329.8);
Tailwind
colors: {
  custom: {
    50: '#876083',
    500: '#552152',
    950: '#000000',
  },
}
SCSS
$custom: #552152;
$custom-light: #876083;
$custom-dark: #000000;
JSON
{
  "hex": "#552152",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 303.462,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34422,
    "c": 0.10276,
    "h": 329.8
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#552152
secondary
#49894C
accent
#D45B54
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #552152

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

Preview Lab → · Contrast checker → · Palette generator →

#552152 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva