#552256#552256

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

Color values

HEX#552256
RGBrgb(85, 34, 86)
HSLhsl(299, 43%, 24%)
HSVhsv(299, 60%, 34%)
CMYKcmyk(1.2%, 60.5%, 0%, 66.3%)
CIE-LABlab(22.82, 31.74, -20.86)
CIE-LCHlch(22.82, 37.98, 326.68°)
OKLaboklab(34.8% 0.0879 -0.0575)
OKLCHoklch(34.8% 0.105 326.8)
XYZxyz(5.9979, 3.7476, 9.2097)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552256 #235622
analogous
#3B2256 #552256 #56223D
triadic
#552256 #565522 #225655
tetradic
#552256 #563B22 #235622 #223D56
square
#552256 #563B22 #235622 #223D56
split-complementary
#552256 #3D5622 #22563B
monochromatic
#160916 #2A112A #552256 #803382 #AC45AE

Accessibility & contrast

On white

12.00
#552256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552256
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552256#FFFFFF#000000##FFFFFF
##5522561.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552256;
/* rgb */ color: rgb(85, 34, 86);
/* oklch */ color: oklch(34.8% 0.105 326.8);
Tailwind
colors: {
  custom: {
    50: '#876086',
    500: '#552256',
    950: '#000000',
  },
}
SCSS
$custom: #552256;
$custom-light: #876086;
$custom-dark: #000000;
JSON
{
  "hex": "#552256",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 298.846,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34798,
    "c": 0.10501,
    "h": 326.8
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#552256
secondary
#4B8A4A
accent
#D35557
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #552256

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

Preview Lab → · Contrast checker → · Palette generator →

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