#561F82#561F82

#561F82 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.157 H 305.2°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#561F82
RGBrgb(86, 31, 130)
HSLhsl(273, 61%, 32%)
HSVhsv(273, 76%, 51%)
CMYKcmyk(33.8%, 76.2%, 0%, 49%)
CIE-LABlab(25.47, 43.56, -45.06)
CIE-LCHlch(25.47, 62.67, 314.03°)
OKLaboklab(37.71% 0.0906 -0.1282)
OKLCHoklch(37.71% 0.157 305.2)
XYZxyz(8.3561, 4.5702, 21.5567)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F82 #4B821F
analogous
#241F82 #561F82 #821F7D
triadic
#561F82 #82561F #1F8256
tetradic
#561F82 #82241F #4B821F #1F7D82
square
#561F82 #82241F #4B821F #1F7D82
split-complementary
#561F82 #7D821F #1F8224
monochromatic
#15071F #351351 #561F82 #772BB3 #9548D3

Accessibility & contrast

On white

10.97
#561F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#561F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F82
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F82#FFFFFF#000000##FFFFFF
##561F821.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#4E374F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561f82;
/* rgb */ color: rgb(86, 31, 130);
/* oklch */ color: oklch(37.7% 0.157 305.2);
Tailwind
colors: {
  custom: {
    50: '#8a60a7',
    500: '#561f82',
    950: '#000000',
  },
}
SCSS
$custom: #561f82;
$custom-light: #8a60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#561f82",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 273.333,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.15696,
    "h": 305.2
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#561F82
secondary
#78B548
accent
#E5438B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561F82

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

Preview Lab → · Contrast checker → · Palette generator →

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