#560D51#560D51

#560D51 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.131 H 331.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#560D51
RGBrgb(86, 13, 81)
HSLhsl(304, 74%, 19%)
HSVhsv(304, 85%, 34%)
CMYKcmyk(0%, 84.9%, 5.8%, 66.3%)
CIE-LABlab(19.48, 40.09, -22.76)
CIE-LCHlch(19.48, 46.10, 330.41°)
OKLaboklab(32.32% 0.1145 -0.0628)
OKLCHoklch(32.32% 0.131 331.3)
XYZxyz(5.4669, 2.8608, 8.0473)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560D51 #0D5612
analogous
#370D56 #560D51 #560D2D
triadic
#560D51 #51560D #0D5156
tetradic
#560D51 #56370D #0D5612 #0D2D56
square
#560D51 #56370D #0D5612 #0D2D56
split-complementary
#560D51 #2D560D #0D5637
monochromatic
#1B0419 #21051F #560D51 #8B1583 #C01DB5

Accessibility & contrast

On white

13.36
#560D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#560D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #560D51
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560D51#FFFFFF#000000##FFFFFF
##560D511.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052953
Deuteranopia (green-blind)
#25334F
Tritanopia (blue-blind)
#5A172F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #560d51;
/* rgb */ color: rgb(86, 13, 81);
/* oklch */ color: oklch(32.3% 0.131 331.3);
Tailwind
colors: {
  custom: {
    50: '#895682',
    500: '#560d51',
    950: '#000000',
  },
}
SCSS
$custom: #560d51;
$custom-light: #895682;
$custom-dark: #000000;
JSON
{
  "hex": "#560d51",
  "rgb": {
    "r": 86,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 304.11,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.13057,
    "h": 331.3
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#560D51
secondary
#2E9135
accent
#F04437
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #560D51

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

Preview Lab → · Contrast checker → · Palette generator →

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