#56216F#56216F

#56216F is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.134 H 312.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#56216F
RGBrgb(86, 33, 111)
HSLhsl(281, 54%, 28%)
HSVhsv(281, 70%, 44%)
CMYKcmyk(22.5%, 70.3%, 0%, 56.5%)
CIE-LABlab(24.37, 38.06, -34.76)
CIE-LCHlch(24.37, 51.54, 317.59°)
OKLaboklab(36.46% 0.0911 -0.0979)
OKLCHoklch(36.46% 0.134 312.9)
XYZxyz(7.2503, 4.2141, 15.4673)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56216F #3A6F21
analogous
#2F216F #56216F #6F2161
triadic
#56216F #6F5621 #216F56
tetradic
#56216F #6F2F21 #3A6F21 #21616F
square
#56216F #6F2F21 #3A6F21 #21616F
split-complementary
#56216F #616F21 #216F2F
monochromatic
#120718 #311340 #56216F #7B2F9E #9D43C7

Accessibility & contrast

On white

11.40
#56216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#56216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56216F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56216F#FFFFFF#000000##FFFFFF
##56216F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#1B3B6D
Tritanopia (blue-blind)
#533145
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #56216f;
/* rgb */ color: rgb(86, 33, 111);
/* oklch */ color: oklch(36.5% 0.134 312.9);
Tailwind
colors: {
  custom: {
    50: '#896199',
    500: '#56216f',
    950: '#000000',
  },
}
SCSS
$custom: #56216f;
$custom-light: #896199;
$custom-dark: #000000;
JSON
{
  "hex": "#56216f",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 280.769,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36462,
    "c": 0.13377,
    "h": 312.9
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#56216F
secondary
#66A349
accent
#DE4A79
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #56216F

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

Preview Lab → · Contrast checker → · Palette generator →

#56216F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva