#560E51#560E51

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

Color values

HEX#560E51
RGBrgb(86, 14, 81)
HSLhsl(304, 72%, 20%)
HSVhsv(304, 84%, 34%)
CMYKcmyk(0%, 83.7%, 5.8%, 66.3%)
CIE-LABlab(19.59, 39.77, -22.59)
CIE-LCHlch(19.59, 45.74, 330.40°)
OKLaboklab(32.4% 0.1136 -0.0623)
OKLCHoklch(32.4% 0.13 331.3)
XYZxyz(5.4800, 2.8870, 8.0516)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560E51 #0E5613
analogous
#370E56 #560E51 #560E2D
triadic
#560E51 #51560E #0E5156
tetradic
#560E51 #56370E #0E5613 #0E2D56
square
#560E51 #56370E #0E5613 #0E2D56
split-complementary
#560E51 #2D560E #0E5637
monochromatic
#1A0419 #21051F #560E51 #8B1783 #BF1FB4

Accessibility & contrast

On white

13.31
#560E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#560E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #560E51
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560E51#FFFFFF#000000##FFFFFF
##560E511.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062953
Deuteranopia (green-blind)
#26334F
Tritanopia (blue-blind)
#5A182F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #560e51;
/* rgb */ color: rgb(86, 14, 81);
/* oklch */ color: oklch(32.4% 0.130 331.3);
Tailwind
colors: {
  custom: {
    50: '#895782',
    500: '#560e51',
    950: '#000000',
  },
}
SCSS
$custom: #560e51;
$custom-light: #895782;
$custom-dark: #000000;
JSON
{
  "hex": "#560e51",
  "rgb": {
    "r": 86,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 304.167,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32398,
    "c": 0.12954,
    "h": 331.3
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#560E51
secondary
#309036
accent
#EF4639
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #560E51

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

Preview Lab → · Contrast checker → · Palette generator →

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