#560C4F#560C4F

#560C4F is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.130 H 332.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#560C4F
RGBrgb(86, 12, 79)
HSLhsl(306, 76%, 19%)
HSVhsv(306, 86%, 34%)
CMYKcmyk(0%, 86%, 8.1%, 66.3%)
CIE-LABlab(19.25, 40.04, -21.76)
CIE-LCHlch(19.25, 45.57, 331.47°)
OKLaboklab(32.12% 0.1153 -0.0599)
OKLCHoklch(32.12% 0.13 332.6)
XYZxyz(5.3805, 2.8064, 7.6539)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560C4F #0C5613
analogous
#380C56 #560C4F #560C2A
triadic
#560C4F #4F560C #0C4F56
tetradic
#560C4F #56380C #0C5613 #0C2A56
square
#560C4F #56380C #0C5613 #0C2A56
split-complementary
#560C4F #2A560C #0C5638
monochromatic
#1B0419 #20051E #560C4F #8C1380 #C11BB2

Accessibility & contrast

On white

13.45
#560C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#560C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #560C4F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560C4F#FFFFFF#000000##FFFFFF
##560C4F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072851
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#5A152D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #560c4f;
/* rgb */ color: rgb(86, 12, 79);
/* oklch */ color: oklch(32.1% 0.130 332.6);
Tailwind
colors: {
  custom: {
    50: '#895680',
    500: '#560c4f',
    950: '#000000',
  },
}
SCSS
$custom: #560c4f;
$custom-light: #895680;
$custom-dark: #000000;
JSON
{
  "hex": "#560c4f",
  "rgb": {
    "r": 86,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 305.676,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3212,
    "c": 0.12995,
    "h": 332.6
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#560C4F
secondary
#2D9136
accent
#F24836
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #560C4F

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

Preview Lab → · Contrast checker → · Palette generator →

#560C4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva