#561D7B#561D7B

#561D7B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.152 H 308.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#561D7B
RGBrgb(86, 29, 123)
HSLhsl(276, 62%, 30%)
HSVhsv(276, 76%, 48%)
CMYKcmyk(30.1%, 76.4%, 0%, 51.8%)
CIE-LABlab(24.60, 42.76, -42.05)
CIE-LCHlch(24.60, 59.98, 315.48°)
OKLaboklab(36.91% 0.094 -0.1193)
OKLCHoklch(36.91% 0.152 308.2)
XYZxyz(7.8515, 4.2873, 19.1490)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D7B #427B1D
analogous
#271D7B #561D7B #7B1D71
triadic
#561D7B #7B561D #1D7B56
tetradic
#561D7B #7B271D #427B1D #1D717B
square
#561D7B #7B271D #427B1D #1D717B
split-complementary
#561D7B #717B1D #1D7B27
monochromatic
#110619 #331149 #561D7B #7929AD #9940D2

Accessibility & contrast

On white

11.31
#561D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#561D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D7B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D7B#FFFFFF#000000##FFFFFF
##561D7B1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#50334A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561d7b;
/* rgb */ color: rgb(86, 29, 123);
/* oklch */ color: oklch(36.9% 0.152 308.2);
Tailwind
colors: {
  custom: {
    50: '#8a5fa2',
    500: '#561d7b',
    950: '#000000',
  },
}
SCSS
$custom: #561d7b;
$custom-light: #8a5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#561d7b",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 276.383,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36911,
    "c": 0.15192,
    "h": 308.2
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#561D7B
secondary
#6FAF45
accent
#E54383
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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