#560D4C#560D4C

#560D4C is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.127 H 334.6°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#560D4C
RGBrgb(86, 13, 76)
HSLhsl(308, 74%, 19%)
HSVhsv(308, 85%, 34%)
CMYKcmyk(0%, 84.9%, 11.6%, 66.3%)
CIE-LABlab(19.18, 39.23, -19.84)
CIE-LCHlch(19.18, 43.96, 333.18°)
OKLaboklab(32.01% 0.1143 -0.0543)
OKLCHoklch(32.01% 0.127 334.6)
XYZxyz(5.2862, 2.7886, 7.0959)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560D4C #0D5617
analogous
#3C0D56 #560D4C #560D28
triadic
#560D4C #4C560D #0D4C56
tetradic
#560D4C #563C0D #0D5617 #0D2856
square
#560D4C #563C0D #0D5617 #0D2856
split-complementary
#560D4C #28560D #0D563C
monochromatic
#1B0417 #21051D #560D4C #8B157B #C01DAA

Accessibility & contrast

On white

13.48
#560D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #560D4C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560D4C#FFFFFF#000000##FFFFFF
##560D4C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C284E
Deuteranopia (green-blind)
#28324A
Tritanopia (blue-blind)
#5B142C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #560d4c;
/* rgb */ color: rgb(86, 13, 76);
/* oklch */ color: oklch(32.0% 0.127 334.6);
Tailwind
colors: {
  custom: {
    50: '#89567e',
    500: '#560d4c',
    950: '#000000',
  },
}
SCSS
$custom: #560d4c;
$custom-light: #89567e;
$custom-dark: #000000;
JSON
{
  "hex": "#560d4c",
  "rgb": {
    "r": 86,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 308.219,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.32008,
    "c": 0.12657,
    "h": 334.6
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#560D4C
secondary
#2E913C
accent
#F05137
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #560D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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