#552255#552255

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

Color values

HEX#552255
RGBrgb(85, 34, 85)
HSLhsl(300, 43%, 23%)
HSVhsv(300, 60%, 33%)
CMYKcmyk(0%, 60%, 0%, 66.7%)
CIE-LABlab(22.76, 31.54, -20.28)
CIE-LCHlch(22.76, 37.50, 327.25°)
OKLaboklab(34.74% 0.0877 -0.0558)
OKLCHoklch(34.74% 0.104 327.5)
XYZxyz(5.9579, 3.7316, 8.9990)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552255 #225522
analogous
#3B2255 #552255 #55223B
triadic
#552255 #555522 #225555
tetradic
#552255 #553B22 #225522 #223B55
square
#552255 #553B22 #225522 #223B55
split-complementary
#552255 #3B5522 #22553B
monochromatic
#160916 #291129 #552255 #813381 #AC45AC

Accessibility & contrast

On white

12.03
#552255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#552255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552255
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552255#FFFFFF#000000##FFFFFF
##5522551.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3257
Deuteranopia (green-blind)
#2D3954
Tritanopia (blue-blind)
#582838
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #552255;
/* rgb */ color: rgb(85, 34, 85);
/* oklch */ color: oklch(34.7% 0.104 327.5);
Tailwind
colors: {
  custom: {
    50: '#876085',
    500: '#552255',
    950: '#000000',
  },
}
SCSS
$custom: #552255;
$custom-light: #876085;
$custom-dark: #000000;
JSON
{
  "hex": "#552255",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 300,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34739,
    "c": 0.104,
    "h": 327.5
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#552255
secondary
#4A894A
accent
#D35555
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #552255

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

Preview Lab → · Contrast checker → · Palette generator →

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