#560B52#560B52

#560B52 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.133 H 330.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#560B52
RGBrgb(86, 11, 82)
HSLhsl(303, 77%, 19%)
HSVhsv(303, 87%, 34%)
CMYKcmyk(0%, 87.2%, 4.7%, 66.3%)
CIE-LABlab(19.34, 40.84, -23.66)
CIE-LCHlch(19.34, 47.20, 329.92°)
OKLaboklab(32.24% 0.1162 -0.0654)
OKLCHoklch(32.24% 0.133 330.6)
XYZxyz(5.4804, 2.8274, 8.2381)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560B52 #0B560F
analogous
#350B56 #560B52 #560B2D
triadic
#560B52 #52560B #0B5256
tetradic
#560B52 #56350B #0B560F #0B2D56
square
#560B52 #56350B #0B560F #0B2D56
split-complementary
#560B52 #2D560B #0B5635
monochromatic
#1B031A #20041E #560B52 #8C1286 #C319B9

Accessibility & contrast

On white

13.42
#560B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #560B52
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560B52#FFFFFF#000000##FFFFFF
##560B521.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012854
Deuteranopia (green-blind)
#243250
Tritanopia (blue-blind)
#5A162F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #560b52;
/* rgb */ color: rgb(86, 11, 82);
/* oklch */ color: oklch(32.2% 0.133 330.6);
Tailwind
colors: {
  custom: {
    50: '#895683',
    500: '#560b52',
    950: '#000000',
  },
}
SCSS
$custom: #560b52;
$custom-light: #895683;
$custom-dark: #000000;
JSON
{
  "hex": "#560b52",
  "rgb": {
    "r": 86,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 303.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.32243,
    "c": 0.13329,
    "h": 330.6
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#560B52
secondary
#2B9131
accent
#F43E34
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #560B52

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

Preview Lab → · Contrast checker → · Palette generator →

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