#560F52#560F52

#560F52 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.129 H 330.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#560F52
RGBrgb(86, 15, 82)
HSLhsl(303, 70%, 20%)
HSVhsv(303, 83%, 34%)
CMYKcmyk(0%, 82.6%, 4.7%, 66.3%)
CIE-LABlab(19.76, 39.63, -22.99)
CIE-LCHlch(19.76, 45.81, 329.88°)
OKLaboklab(32.54% 0.1127 -0.0635)
OKLCHoklch(32.54% 0.129 330.6)
XYZxyz(5.5316, 2.9297, 8.2552)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560F52 #0F5613
analogous
#360F56 #560F52 #560F2F
triadic
#560F52 #52560F #0F5256
tetradic
#560F52 #56360F #0F5613 #0F2F56
square
#560F52 #56360F #0F5613 #0F2F56
split-complementary
#560F52 #2F560F #0F5636
monochromatic
#1A0519 #220620 #560F52 #8A1884 #BE21B5

Accessibility & contrast

On white

13.24
#560F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#560F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #560F52
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560F52#FFFFFF#000000##FFFFFF
##560F521.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062A54
Deuteranopia (green-blind)
#263350
Tritanopia (blue-blind)
#5A1930
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #560f52;
/* rgb */ color: rgb(86, 15, 82);
/* oklch */ color: oklch(32.5% 0.129 330.6);
Tailwind
colors: {
  custom: {
    50: '#895783',
    500: '#560f52',
    950: '#000000',
  },
}
SCSS
$custom: #560f52;
$custom-light: #895783;
$custom-dark: #000000;
JSON
{
  "hex": "#560f52",
  "rgb": {
    "r": 86,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 303.38,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32543,
    "c": 0.1293,
    "h": 330.6
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#560F52
secondary
#319036
accent
#ED453B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #560F52

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

Preview Lab → · Contrast checker → · Palette generator →

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