#561D8E#561D8E

#561D8E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.172 H 301.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#561D8E
RGBrgb(86, 29, 142)
HSLhsl(270, 66%, 34%)
HSVhsv(270, 80%, 56%)
CMYKcmyk(39.4%, 79.6%, 0%, 44.3%)
CIE-LABlab(26.19, 47.39, -51.39)
CIE-LCHlch(26.19, 69.91, 312.68°)
OKLaboklab(38.52% 0.0895 -0.1468)
OKLCHoklch(38.52% 0.172 301.4)
XYZxyz(9.1584, 4.8101, 26.0319)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D8E #558E1D
analogous
#1D1D8E #561D8E #8E1D8D
triadic
#561D8E #8E561D #1D8E56
tetradic
#561D8E #8E1D1D #558E1D #1D8D8E
square
#561D8E #8E1D1D #558E1D #1D8D8E
split-complementary
#561D8E #8D8E1D #1D8E1D
monochromatic
#180828 #37135B #561D8E #7527C1 #934BDA

Accessibility & contrast

On white

10.70
#561D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#561D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D8E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D8E#FFFFFF#000000##FFFFFF
##561D8E1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#493B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561d8e;
/* rgb */ color: rgb(86, 29, 142);
/* oklch */ color: oklch(38.5% 0.172 301.4);
Tailwind
colors: {
  custom: {
    50: '#8b60b0',
    500: '#561d8e',
    950: '#000000',
  },
}
SCSS
$custom: #561d8e;
$custom-light: #8b60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#561d8e",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 270.265,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38522,
    "c": 0.17191,
    "h": 301.4
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#561D8E
secondary
#83BD4A
accent
#E93F93
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #561D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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