#552158#552158

#552158 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.8% C 0.109 H 325.4°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#552158
RGBrgb(85, 33, 88)
HSLhsl(297, 45%, 24%)
HSVhsv(297, 63%, 35%)
CMYKcmyk(3.4%, 62.5%, 0%, 65.5%)
CIE-LABlab(22.74, 32.69, -22.32)
CIE-LCHlch(22.74, 39.58, 325.67°)
OKLaboklab(34.78% 0.0896 -0.0617)
OKLCHoklch(34.78% 0.109 325.4)
XYZxyz(6.0515, 3.7239, 9.6307)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552158 #245821
analogous
#392158 #552158 #58213F
triadic
#552158 #585521 #215855
tetradic
#552158 #583921 #245821 #213F58
square
#552158 #583921 #245821 #213F58
split-complementary
#552158 #3F5821 #215839
monochromatic
#150816 #2A102B #552158 #803285 #AB42B1

Accessibility & contrast

On white

12.04
#552158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552158
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552158#FFFFFF#000000##FFFFFF
##5521581.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325A
Deuteranopia (green-blind)
#2B3956
Tritanopia (blue-blind)
#572839
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #552158;
/* rgb */ color: rgb(85, 33, 88);
/* oklch */ color: oklch(34.8% 0.109 325.4);
Tailwind
colors: {
  custom: {
    50: '#876087',
    500: '#552158',
    950: '#000000',
  },
}
SCSS
$custom: #552158;
$custom-light: #876087;
$custom-dark: #000000;
JSON
{
  "hex": "#552158",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 296.727,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.10877,
    "h": 325.4
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#552158
secondary
#4C8C49
accent
#D5535A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #552158

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

Preview Lab → · Contrast checker → · Palette generator →

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