#561257#561257

#561257 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.130 H 327.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#561257
RGBrgb(86, 18, 87)
HSLhsl(299, 66%, 21%)
HSVhsv(299, 79%, 34%)
CMYKcmyk(1.1%, 79.3%, 0%, 65.9%)
CIE-LABlab(20.44, 39.50, -25.28)
CIE-LCHlch(20.44, 46.89, 327.38°)
OKLaboklab(33.13% 0.1097 -0.0701)
OKLCHoklch(33.13% 0.13 327.4)
XYZxyz(5.7743, 3.0996, 9.3091)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561257 #135712
analogous
#331257 #561257 #571235
triadic
#561257 #575612 #125756
tetradic
#561257 #573312 #135712 #123557
square
#561257 #573312 #135712 #123557
split-complementary
#561257 #355712 #125733
monochromatic
#190519 #240824 #561257 #881C8A #BA27BC

Accessibility & contrast

On white

12.96
#561257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#561257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561257
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561257#FFFFFF#000000##FFFFFF
##5612571.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032C59
Deuteranopia (green-blind)
#243455
Tritanopia (blue-blind)
#591D33
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #561257;
/* rgb */ color: rgb(86, 18, 87);
/* oklch */ color: oklch(33.1% 0.130 327.4);
Tailwind
colors: {
  custom: {
    50: '#885887',
    500: '#561257',
    950: '#000000',
  },
}
SCSS
$custom: #561257;
$custom-light: #885887;
$custom-dark: #000000;
JSON
{
  "hex": "#561257",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 299.13,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33129,
    "c": 0.13018,
    "h": 327.4
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#561257
secondary
#369035
accent
#E93F42
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561257

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

Preview Lab → · Contrast checker → · Palette generator →

#561257 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva