#552154#552154

#552154 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.5% C 0.105 H 328.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#552154
RGBrgb(85, 33, 84)
HSLhsl(301, 44%, 23%)
HSVhsv(301, 61%, 33%)
CMYKcmyk(0%, 61.2%, 1.2%, 66.7%)
CIE-LABlab(22.51, 31.86, -20.01)
CIE-LCHlch(22.51, 37.63, 327.87°)
OKLaboklab(34.54% 0.0891 -0.055)
OKLCHoklch(34.54% 0.105 328.3)
XYZxyz(5.8903, 3.6595, 8.7819)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552154 #215522
analogous
#3C2155 #552154 #55213A
triadic
#552154 #545521 #215455
tetradic
#552154 #553C21 #215522 #213A55
square
#552154 #553C21 #215522 #213A55
split-complementary
#552154 #3A5521 #21553C
monochromatic
#160916 #291028 #552154 #813280 #AD43AB

Accessibility & contrast

On white

12.13
#552154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552154
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552154#FFFFFF#000000##FFFFFF
##5521541.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3156
Deuteranopia (green-blind)
#2D3853
Tritanopia (blue-blind)
#582737
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #552154;
/* rgb */ color: rgb(85, 33, 84);
/* oklch */ color: oklch(34.5% 0.105 328.3);
Tailwind
colors: {
  custom: {
    50: '#876084',
    500: '#552154',
    950: '#000000',
  },
}
SCSS
$custom: #552154;
$custom-light: #876084;
$custom-dark: #000000;
JSON
{
  "hex": "#552154",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 301.154,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34537,
    "c": 0.10473,
    "h": 328.3
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#552154
secondary
#49894A
accent
#D45654
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #552154

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

Preview Lab → · Contrast checker → · Palette generator →

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