#560F51#560F51

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

Color values

HEX#560F51
RGBrgb(86, 15, 81)
HSLhsl(304, 70%, 20%)
HSVhsv(304, 83%, 34%)
CMYKcmyk(0%, 82.6%, 5.8%, 66.3%)
CIE-LABlab(19.70, 39.45, -22.41)
CIE-LCHlch(19.70, 45.37, 330.40°)
OKLaboklab(32.48% 0.1126 -0.0618)
OKLCHoklch(32.48% 0.128 331.3)
XYZxyz(5.4938, 2.9146, 8.0562)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#560F51 #0F5614
analogous
#370F56 #560F51 #560F2E
triadic
#560F51 #51560F #0F5156
tetradic
#560F51 #56370F #0F5614 #0F2E56
square
#560F51 #56370F #0F5614 #0F2E56
split-complementary
#560F51 #2E560F #0F5637
monochromatic
#1A0519 #220620 #560F51 #8A1882 #BE21B3

Accessibility & contrast

On white

13.27
#560F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #560F51
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##560F51#FFFFFF#000000##FFFFFF
##560F511.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082953
Deuteranopia (green-blind)
#26334F
Tritanopia (blue-blind)
#5A182F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #560f51;
/* rgb */ color: rgb(86, 15, 81);
/* oklch */ color: oklch(32.5% 0.128 331.3);
Tailwind
colors: {
  custom: {
    50: '#885782',
    500: '#560f51',
    950: '#000000',
  },
}
SCSS
$custom: #560f51;
$custom-light: #885782;
$custom-dark: #000000;
JSON
{
  "hex": "#560f51",
  "rgb": {
    "r": 86,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 304.225,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32479,
    "c": 0.12847,
    "h": 331.3
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#560F51
secondary
#319038
accent
#ED473B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #560F51

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

Preview Lab → · Contrast checker → · Palette generator →

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