#560F6A#560F6A

#560F6A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.150 H 317.2°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#560F6A
RGBrgb(86, 15, 106)
HSLhsl(287, 75%, 24%)
HSVhsv(287, 86%, 42%)
CMYKcmyk(18.9%, 85.8%, 0%, 58.4%)
CIE-LABlab(21.44, 44.25, -36.24)
CIE-LCHlch(21.44, 57.20, 320.68°)
OKLaboklab(34.26% 0.1102 -0.1022)
OKLCHoklch(34.26% 0.15 317.2)
XYZxyz(6.6097, 3.3610, 13.9334)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560F6A #236A0F
analogous
#280F6A #560F6A #6A0F50
triadic
#560F6A #6A560F #0F6A56
tetradic
#560F6A #6A280F #236A0F #0F506A
square
#560F6A #6A280F #236A0F #0F506A
split-complementary
#560F6A #506A0F #0F6A28
monochromatic
#16041B #2B0734 #560F6A #8117A0 #AD1ED5

Accessibility & contrast

On white

12.56
#560F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#560F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #560F6A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560F6A#FFFFFF#000000##FFFFFF
##560F6A1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#113568
Tritanopia (blue-blind)
#55253E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #560f6a;
/* rgb */ color: rgb(86, 15, 106);
/* oklch */ color: oklch(34.3% 0.150 317.2);
Tailwind
colors: {
  custom: {
    50: '#895895',
    500: '#560f6a',
    950: '#000000',
  },
}
SCSS
$custom: #560f6a;
$custom-light: #895895;
$custom-dark: #000000;
JSON
{
  "hex": "#560f6a",
  "rgb": {
    "r": 86,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 286.813,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34263,
    "c": 0.1503,
    "h": 317.2
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#560F6A
secondary
#4BA232
accent
#F2365F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #560F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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