#561F87#561F87

#561F87 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.162 H 303.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#561F87
RGBrgb(86, 31, 135)
HSLhsl(272, 63%, 33%)
HSVhsv(272, 77%, 53%)
CMYKcmyk(36.3%, 77%, 0%, 47.1%)
CIE-LABlab(25.89, 44.80, -47.53)
CIE-LCHlch(25.89, 65.31, 313.31°)
OKLaboklab(38.12% 0.0895 -0.1354)
OKLCHoklch(38.12% 0.162 303.4)
XYZxyz(8.6999, 4.7077, 23.3673)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F87 #50871F
analogous
#221F87 #561F87 #871F84
triadic
#561F87 #87561F #1F8756
tetradic
#561F87 #87221F #50871F #1F8487
square
#561F87 #87221F #50871F #1F8487
split-complementary
#561F87 #84871F #1F8722
monochromatic
#170823 #361455 #561F87 #762AB9 #944BD6

Accessibility & contrast

On white

10.82
#561F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#561F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F87
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F87#FFFFFF#000000##FFFFFF
##561F871.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#4C3952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561f87;
/* rgb */ color: rgb(86, 31, 135);
/* oklch */ color: oklch(38.1% 0.162 303.4);
Tailwind
colors: {
  custom: {
    50: '#8b61ab',
    500: '#561f87',
    950: '#000000',
  },
}
SCSS
$custom: #561f87;
$custom-light: #8b61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#561f87",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 271.731,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38124,
    "c": 0.16232,
    "h": 303.4
  },
  "luminance": 0.04708
}

Semantic roles & 50–950 ramp

primary
#561F87
secondary
#7EB84A
accent
#E6428F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561F87

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

Preview Lab → · Contrast checker → · Palette generator →

#561F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva