#56216E#56216E

#56216E is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.133 H 313.4°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#56216E
RGBrgb(86, 33, 110)
HSLhsl(281, 54%, 28%)
HSVhsv(281, 70%, 43%)
CMYKcmyk(21.8%, 70%, 0%, 56.9%)
CIE-LABlab(24.30, 37.82, -34.23)
CIE-LCHlch(24.30, 51.01, 317.86°)
OKLaboklab(36.39% 0.0912 -0.0964)
OKLCHoklch(36.39% 0.133 313.4)
XYZxyz(7.1956, 4.1922, 15.1789)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56216E #396E21
analogous
#30216E #56216E #6E215F
triadic
#56216E #6E5621 #216E56
tetradic
#56216E #6E3021 #396E21 #215F6E
square
#56216E #6E3021 #396E21 #215F6E
split-complementary
#56216E #5F6E21 #216E30
monochromatic
#120718 #31133F #56216E #7B2F9D #9E43C7

Accessibility & contrast

On white

11.42
#56216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56216E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56216E#FFFFFF#000000##FFFFFF
##56216E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#1C3B6C
Tritanopia (blue-blind)
#543044
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #56216e;
/* rgb */ color: rgb(86, 33, 110);
/* oklch */ color: oklch(36.4% 0.133 313.4);
Tailwind
colors: {
  custom: {
    50: '#886198',
    500: '#56216e',
    950: '#000000',
  },
}
SCSS
$custom: #56216e;
$custom-light: #886198;
$custom-dark: #000000;
JSON
{
  "hex": "#56216e",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 281.299,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36389,
    "c": 0.13268,
    "h": 313.4
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#56216E
secondary
#65A249
accent
#DD4B78
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #56216E

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

Preview Lab → · Contrast checker → · Palette generator →

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