#561F7A#561F7A

#561F7A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.148 H 308.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#561F7A
RGBrgb(86, 31, 122)
HSLhsl(276, 59%, 30%)
HSVhsv(276, 75%, 48%)
CMYKcmyk(29.5%, 74.6%, 0%, 52.2%)
CIE-LABlab(24.84, 41.62, -41.03)
CIE-LCHlch(24.84, 58.44, 315.41°)
OKLaboklab(37.06% 0.0921 -0.1163)
OKLCHoklch(37.06% 0.148 308.4)
XYZxyz(7.8399, 4.3637, 18.8378)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F7A #437A1F
analogous
#291F7A #561F7A #7A1F70
triadic
#561F7A #7A561F #1F7A56
tetradic
#561F7A #7A291F #437A1F #1F707A
square
#561F7A #7A291F #437A1F #1F707A
split-complementary
#561F7A #707A1F #1F7A29
monochromatic
#110618 #341349 #561F7A #782BAB #9844CF

Accessibility & contrast

On white

11.21
#561F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F7A
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F7A#FFFFFF#000000##FFFFFF
##561F7A1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#053C78
Tritanopia (blue-blind)
#50344A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561f7a;
/* rgb */ color: rgb(86, 31, 122);
/* oklch */ color: oklch(37.1% 0.148 308.4);
Tailwind
colors: {
  custom: {
    50: '#8960a1',
    500: '#561f7a',
    950: '#000000',
  },
}
SCSS
$custom: #561f7a;
$custom-light: #8960a1;
$custom-dark: #000000;
JSON
{
  "hex": "#561f7a",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 276.264,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.37057,
    "c": 0.14838,
    "h": 308.4
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#561F7A
secondary
#70AD47
accent
#E34583
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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