#560F4D#560F4D

#560F4D is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.125 H 333.9°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#560F4D
RGBrgb(86, 15, 77)
HSLhsl(308, 70%, 20%)
HSVhsv(308, 83%, 34%)
CMYKcmyk(0%, 82.6%, 10.5%, 66.3%)
CIE-LABlab(19.46, 38.76, -20.07)
CIE-LCHlch(19.46, 43.65, 332.62°)
OKLaboklab(32.23% 0.1125 -0.055)
OKLCHoklch(32.23% 0.125 333.9)
XYZxyz(5.3482, 2.8564, 7.2894)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560F4D #0F5618
analogous
#3C0F56 #560F4D #560F29
triadic
#560F4D #4D560F #0F4D56
tetradic
#560F4D #563C0F #0F5618 #0F2956
square
#560F4D #563C0F #0F5618 #0F2956
split-complementary
#560F4D #29560F #0F563C
monochromatic
#1A0517 #22061E #560F4D #8A187C #BE21AA

Accessibility & contrast

On white

13.37
#560F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #560F4D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560F4D#FFFFFF#000000##FFFFFF
##560F4D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D294F
Deuteranopia (green-blind)
#28334B
Tritanopia (blue-blind)
#5A162D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #560f4d;
/* rgb */ color: rgb(86, 15, 77);
/* oklch */ color: oklch(32.2% 0.125 333.9);
Tailwind
colors: {
  custom: {
    50: '#88577f',
    500: '#560f4d',
    950: '#000000',
  },
}
SCSS
$custom: #560f4d;
$custom-light: #88577f;
$custom-dark: #000000;
JSON
{
  "hex": "#560f4d",
  "rgb": {
    "r": 86,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 307.606,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3223,
    "c": 0.12522,
    "h": 333.9
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#560F4D
secondary
#31903D
accent
#ED513B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #560F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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