#56215D#56215D

#56215D is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.2% C 0.115 H 322.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#56215D
RGBrgb(86, 33, 93)
HSLhsl(293, 48%, 25%)
HSVhsv(293, 65%, 36%)
CMYKcmyk(7.5%, 64.5%, 0%, 63.5%)
CIE-LABlab(23.19, 34.03, -24.90)
CIE-LCHlch(23.19, 42.17, 323.80°)
OKLaboklab(35.24% 0.0913 -0.0692)
OKLCHoklch(35.24% 0.115 322.9)
XYZxyz(6.3572, 3.8568, 10.7634)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56215D #285D21
analogous
#38215D #56215D #5D2146
triadic
#56215D #5D5621 #215D56
tetradic
#56215D #5D3821 #285D21 #21465D
square
#56215D #5D3821 #285D21 #21465D
split-complementary
#56215D #465D21 #215D38
monochromatic
#150817 #2C1130 #56215D #80318A #AA41B7

Accessibility & contrast

On white

11.86
#56215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#56215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56215D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56215D#FFFFFF#000000##FFFFFF
##56215D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#572A3B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #56215d;
/* rgb */ color: rgb(86, 33, 93);
/* oklch */ color: oklch(35.2% 0.115 322.9);
Tailwind
colors: {
  custom: {
    50: '#88608b',
    500: '#56215d',
    950: '#000000',
  },
}
SCSS
$custom: #56215d;
$custom-light: #88608b;
$custom-dark: #000000;
JSON
{
  "hex": "#56215d",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 293,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35235,
    "c": 0.11453,
    "h": 322.9
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#56215D
secondary
#519149
accent
#D75160
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #56215D

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

Preview Lab → · Contrast checker → · Palette generator →

#56215D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva