#561F7C#561F7C

#561F7C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.151 H 307.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#561F7C
RGBrgb(86, 31, 124)
HSLhsl(275, 60%, 30%)
HSVhsv(275, 75%, 49%)
CMYKcmyk(30.6%, 75%, 0%, 51.4%)
CIE-LABlab(24.99, 42.10, -42.05)
CIE-LCHlch(24.99, 59.50, 315.04°)
OKLaboklab(37.22% 0.0917 -0.1193)
OKLCHoklch(37.22% 0.151 307.6)
XYZxyz(7.9651, 4.4138, 19.4972)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F7C #457C1F
analogous
#271F7C #561F7C #7C1F73
triadic
#561F7C #7C561F #1F7C56
tetradic
#561F7C #7C271F #457C1F #1F737C
square
#561F7C #7C271F #457C1F #1F737C
split-complementary
#561F7C #737C1F #1F7C27
monochromatic
#12071A #34134B #561F7C #782BAD #9745D0

Accessibility & contrast

On white

11.15
#561F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#561F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F7C
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F7C#FFFFFF#000000##FFFFFF
##561F7C1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#50354B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561f7c;
/* rgb */ color: rgb(86, 31, 124);
/* oklch */ color: oklch(37.2% 0.151 307.6);
Tailwind
colors: {
  custom: {
    50: '#8a60a3',
    500: '#561f7c',
    950: '#000000',
  },
}
SCSS
$custom: #561f7c;
$custom-light: #8a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#561f7c",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 275.484,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.15053,
    "h": 307.6
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#561F7C
secondary
#72AF48
accent
#E34585
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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