#56285C#56285C

#56285C is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.2% C 0.101 H 322.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#56285C
RGBrgb(86, 40, 92)
HSLhsl(293, 39%, 26%)
HSVhsv(293, 57%, 36%)
CMYKcmyk(6.5%, 56.5%, 0%, 63.9%)
CIE-LABlab(24.54, 30.02, -22.12)
CIE-LCHlch(24.54, 37.28, 323.62°)
OKLaboklab(36.2% 0.0808 -0.0611)
OKLCHoklch(36.2% 0.101 322.9)
XYZxyz(6.5281, 4.2690, 10.6033)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56285C #2E5C28
analogous
#3C285C #56285C #5C2848
triadic
#56285C #5C5628 #285C56
tetradic
#56285C #5C3C28 #2E5C28 #28485C
square
#56285C #5C3C28 #2E5C28 #28485C
split-complementary
#56285C #485C28 #285C3C
monochromatic
#140915 #2E1531 #56285C #7E3B87 #A64DB1

Accessibility & contrast

On white

11.33
#56285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#56285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56285C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56285C#FFFFFF#000000##FFFFFF
##56285C1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20375E
Deuteranopia (green-blind)
#2F3C5B
Tritanopia (blue-blind)
#572F3E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #56285c;
/* rgb */ color: rgb(86, 40, 92);
/* oklch */ color: oklch(36.2% 0.101 322.9);
Tailwind
colors: {
  custom: {
    50: '#87648a',
    500: '#56285c',
    950: '#000000',
  },
}
SCSS
$custom: #56285c;
$custom-light: #87648a;
$custom-dark: #000000;
JSON
{
  "hex": "#56285c",
  "rgb": {
    "r": 86,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 293.077,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36204,
    "c": 0.10132,
    "h": 322.9
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#56285C
secondary
#588F51
accent
#CF5966
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #56285C

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

Preview Lab → · Contrast checker → · Palette generator →

#56285C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva