#561F83#561F83

#561F83 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.158 H 304.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#561F83
RGBrgb(86, 31, 131)
HSLhsl(273, 62%, 32%)
HSVhsv(273, 76%, 51%)
CMYKcmyk(34.4%, 76.3%, 0%, 48.6%)
CIE-LABlab(25.55, 43.81, -45.56)
CIE-LCHlch(25.55, 63.20, 313.88°)
OKLaboklab(37.79% 0.0904 -0.1296)
OKLCHoklch(37.79% 0.158 304.9)
XYZxyz(8.4235, 4.5971, 21.9119)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F83 #4C831F
analogous
#241F83 #561F83 #831F7E
triadic
#561F83 #83561F #1F8356
tetradic
#561F83 #83241F #4C831F #1F7E83
square
#561F83 #83241F #4C831F #1F7E83
split-complementary
#561F83 #7E831F #1F8324
monochromatic
#150820 #361352 #561F83 #762BB4 #9549D4

Accessibility & contrast

On white

10.94
#561F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#561F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F83
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F83#FFFFFF#000000##FFFFFF
##561F831.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#4E384F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561f83;
/* rgb */ color: rgb(86, 31, 131);
/* oklch */ color: oklch(37.8% 0.158 304.9);
Tailwind
colors: {
  custom: {
    50: '#8a61a8',
    500: '#561f83',
    950: '#000000',
  },
}
SCSS
$custom: #561f83;
$custom-light: #8a61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#561f83",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 273,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37788,
    "c": 0.15803,
    "h": 304.9
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#561F83
secondary
#79B648
accent
#E5438C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561F83

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

Preview Lab → · Contrast checker → · Palette generator →

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