#552156#552156

#552156 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.107 H 326.8°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#552156
RGBrgb(85, 33, 86)
HSLhsl(299, 45%, 23%)
HSVhsv(299, 62%, 34%)
CMYKcmyk(1.2%, 61.6%, 0%, 66.3%)
CIE-LABlab(22.62, 32.27, -21.17)
CIE-LCHlch(22.62, 38.60, 326.73°)
OKLaboklab(34.66% 0.0894 -0.0584)
OKLCHoklch(34.66% 0.107 326.8)
XYZxyz(5.9698, 3.6913, 9.2003)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552156 #225621
analogous
#3A2156 #552156 #56213C
triadic
#552156 #565521 #215655
tetradic
#552156 #563A21 #225621 #213C56
square
#552156 #563A21 #225621 #213C56
split-complementary
#552156 #3C5621 #21563A
monochromatic
#160816 #29102A #552156 #813282 #AC43AE

Accessibility & contrast

On white

12.08
#552156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#552156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552156
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552156#FFFFFF#000000##FFFFFF
##5521561.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3258
Deuteranopia (green-blind)
#2C3854
Tritanopia (blue-blind)
#572838
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #552156;
/* rgb */ color: rgb(85, 33, 86);
/* oklch */ color: oklch(34.7% 0.107 326.8);
Tailwind
colors: {
  custom: {
    50: '#876086',
    500: '#552156',
    950: '#000000',
  },
}
SCSS
$custom: #552156;
$custom-light: #876086;
$custom-dark: #000000;
JSON
{
  "hex": "#552156",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 298.868,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34655,
    "c": 0.10674,
    "h": 326.8
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#552156
secondary
#4A8A49
accent
#D45456
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #552156

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

Preview Lab → · Contrast checker → · Palette generator →

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