#561F86#561F86

#561F86 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.161 H 303.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#561F86
RGBrgb(86, 31, 134)
HSLhsl(272, 62%, 32%)
HSVhsv(272, 77%, 53%)
CMYKcmyk(35.8%, 76.9%, 0%, 47.5%)
CIE-LABlab(25.80, 44.55, -47.04)
CIE-LCHlch(25.80, 64.78, 313.44°)
OKLaboklab(38.04% 0.0897 -0.134)
OKLCHoklch(38.04% 0.161 303.8)
XYZxyz(8.6298, 4.6797, 22.9983)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F86 #4F861F
analogous
#231F86 #561F86 #861F82
triadic
#561F86 #86561F #1F8656
tetradic
#561F86 #86231F #4F861F #1F8286
square
#561F86 #86231F #4F861F #1F8286
split-complementary
#561F86 #82861F #1F8623
monochromatic
#160823 #361454 #561F86 #762AB8 #944AD5

Accessibility & contrast

On white

10.85
#561F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561F86
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F86#FFFFFF#000000##FFFFFF
##561F861.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#4C3951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561f86;
/* rgb */ color: rgb(86, 31, 134);
/* oklch */ color: oklch(38.0% 0.161 303.8);
Tailwind
colors: {
  custom: {
    50: '#8b61aa',
    500: '#561f86',
    950: '#000000',
  },
}
SCSS
$custom: #561f86;
$custom-light: #8b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#561f86",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 272.039,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3804,
    "c": 0.16125,
    "h": 303.8
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#561F86
secondary
#7DB849
accent
#E5428E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561F86

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

Preview Lab → · Contrast checker → · Palette generator →

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