#560B56#560B56

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

Color values

HEX#560B56
RGBrgb(86, 11, 86)
HSLhsl(300, 77%, 19%)
HSVhsv(300, 87%, 34%)
CMYKcmyk(0%, 87.2%, 0%, 66.3%)
CIE-LABlab(19.60, 41.55, -25.95)
CIE-LCHlch(19.60, 48.98, 328.01°)
OKLaboklab(32.51% 0.116 -0.072)
OKLCHoklch(32.51% 0.137 328.2)
XYZxyz(5.6371, 2.8901, 9.0632)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560B56 #0B560B
analogous
#310B56 #560B56 #560B31
triadic
#560B56 #56560B #0B5656
tetradic
#560B56 #56310B #0B560B #0B3156
square
#560B56 #56310B #0B560B #0B3156
split-complementary
#560B56 #31560B #0B5631
monochromatic
#1B031B #200420 #560B56 #8C128C #C319C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##560B56#FFFFFF#000000##FFFFFF
##560B561.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)
#002958
Deuteranopia (green-blind)
#223354
Tritanopia (blue-blind)
#591931
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #560b56;
/* rgb */ color: rgb(86, 11, 86);
/* oklch */ color: oklch(32.5% 0.137 328.2);
Tailwind
colors: {
  custom: {
    50: '#895686',
    500: '#560b56',
    950: '#000000',
  },
}
SCSS
$custom: #560b56;
$custom-light: #895686;
$custom-dark: #000000;
JSON
{
  "hex": "#560b56",
  "rgb": {
    "r": 86,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3251,
    "c": 0.13656,
    "h": 328.2
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#560B56
secondary
#2B912B
accent
#F43434
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C030B
muted
#7D787C

Preview Lab

Preview with #560B56

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

Preview Lab → · Contrast checker → · Palette generator →

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