#560F4B#560F4B

#560F4B is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.124 H 335.3°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#560F4B
RGBrgb(86, 15, 75)
HSLhsl(309, 70%, 20%)
HSVhsv(309, 83%, 34%)
CMYKcmyk(0%, 82.6%, 12.8%, 66.3%)
CIE-LABlab(19.34, 38.42, -18.89)
CIE-LCHlch(19.34, 42.81, 333.82°)
OKLaboklab(32.11% 0.1123 -0.0516)
OKLCHoklch(32.11% 0.124 335.3)
XYZxyz(5.2786, 2.8286, 6.9232)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560F4B #0F561A
analogous
#3E0F56 #560F4B #560F27
triadic
#560F4B #4B560F #0F4B56
tetradic
#560F4B #563E0F #0F561A #0F2756
square
#560F4B #563E0F #0F561A #0F2756
split-complementary
#560F4B #27560F #0F563E
monochromatic
#1A0517 #22061E #560F4B #8A1878 #BE21A6

Accessibility & contrast

On white

13.41
#560F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #560F4B
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560F4B#FFFFFF#000000##FFFFFF
##560F4B1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F284D
Deuteranopia (green-blind)
#293349
Tritanopia (blue-blind)
#5B152C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #560f4b;
/* rgb */ color: rgb(86, 15, 75);
/* oklch */ color: oklch(32.1% 0.124 335.3);
Tailwind
colors: {
  custom: {
    50: '#89577d',
    500: '#560f4b',
    950: '#000000',
  },
}
SCSS
$custom: #560f4b;
$custom-light: #89577d;
$custom-dark: #000000;
JSON
{
  "hex": "#560f4b",
  "rgb": {
    "r": 86,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 309.296,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.12363,
    "h": 335.3
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#560F4B
secondary
#319040
accent
#ED563B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #560F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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