#560F5D#560F5D

#560F5D is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.139 H 324.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#560F5D
RGBrgb(86, 15, 93)
HSLhsl(295, 72%, 21%)
HSVhsv(295, 84%, 36%)
CMYKcmyk(7.5%, 83.9%, 0%, 63.5%)
CIE-LABlab(20.48, 41.66, -29.22)
CIE-LCHlch(20.48, 50.88, 324.96°)
OKLaboklab(33.29% 0.1122 -0.0816)
OKLCHoklch(33.29% 0.139 324)
XYZxyz(5.9842, 3.1108, 10.6390)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560F5D #165D0F
analogous
#2F0F5D #560F5D #5D0F3D
triadic
#560F5D #5D560F #0F5D56
tetradic
#560F5D #5D2F0F #165D0F #0F3D5D
square
#560F5D #5D2F0F #165D0F #0F3D5D
split-complementary
#560F5D #3D5D0F #0F5D2F
monochromatic
#18041A #250628 #560F5D #871792 #B720C6

Accessibility & contrast

On white

12.95
#560F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#560F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #560F5D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560F5D#FFFFFF#000000##FFFFFF
##560F5D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#1F345B
Tritanopia (blue-blind)
#581E36
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #560f5d;
/* rgb */ color: rgb(86, 15, 93);
/* oklch */ color: oklch(33.3% 0.139 324.0);
Tailwind
colors: {
  custom: {
    50: '#89588b',
    500: '#560f5d',
    950: '#000000',
  },
}
SCSS
$custom: #560f5d;
$custom-light: #89588b;
$custom-dark: #000000;
JSON
{
  "hex": "#560f5d",
  "rgb": {
    "r": 86,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 294.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33289,
    "c": 0.13871,
    "h": 324
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#560F5D
secondary
#3A9631
accent
#EF3949
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #560F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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