#561D7E#561D7E

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

Color values

HEX#561D7E
RGBrgb(86, 29, 126)
HSLhsl(275, 63%, 30%)
HSVhsv(275, 77%, 49%)
CMYKcmyk(31.7%, 77%, 0%, 50.6%)
CIE-LABlab(24.84, 43.48, -43.57)
CIE-LCHlch(24.84, 61.55, 314.94°)
OKLaboklab(37.16% 0.0934 -0.1238)
OKLCHoklch(37.16% 0.155 307)
XYZxyz(8.0422, 4.3636, 20.1532)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D7E #457E1D
analogous
#261D7E #561D7E #7E1D75
triadic
#561D7E #7E561D #1D7E56
tetradic
#561D7E #7E261D #457E1D #1D757E
square
#561D7E #7E261D #457E1D #1D757E
split-complementary
#561D7E #757E1D #1D7E26
monochromatic
#12061B #34124C #561D7E #7828B0 #9742D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##561D7E#FFFFFF#000000##FFFFFF
##561D7E1.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)
#003981
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#4F344C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561d7e;
/* rgb */ color: rgb(86, 29, 126);
/* oklch */ color: oklch(37.2% 0.155 307.0);
Tailwind
colors: {
  custom: {
    50: '#8a5fa4',
    500: '#561d7e',
    950: '#000000',
  },
}
SCSS
$custom: #561d7e;
$custom-light: #8a5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#561d7e",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 275.258,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37156,
    "c": 0.15508,
    "h": 307
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#561D7E
secondary
#72B145
accent
#E64286
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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