#561D8F#561D8F

#561D8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.173 H 301.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#561D8F
RGBrgb(86, 29, 143)
HSLhsl(270, 66%, 34%)
HSVhsv(270, 80%, 56%)
CMYKcmyk(39.9%, 79.7%, 0%, 43.9%)
CIE-LABlab(26.27, 47.63, -51.87)
CIE-LCHlch(26.27, 70.42, 312.56°)
OKLaboklab(38.61% 0.0892 -0.1482)
OKLCHoklch(38.61% 0.173 301)
XYZxyz(9.2338, 4.8403, 26.4291)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D8F #568F1D
analogous
#1D1D8F #561D8F #8F1D8F
triadic
#561D8F #8F561D #1D8F56
tetradic
#561D8F #8F1D1D #568F1D #1D8F8F
square
#561D8F #8F1D1D #568F1D #1D8F8F
split-complementary
#561D8F #8F8F1D #1D8F1D
monochromatic
#190829 #37135C #561D8F #7527C2 #934CDB

Accessibility & contrast

On white

10.67
#561D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#561D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D8F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D8F#FFFFFF#000000##FFFFFF
##561D8F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#493C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561d8f;
/* rgb */ color: rgb(86, 29, 143);
/* oklch */ color: oklch(38.6% 0.173 301.0);
Tailwind
colors: {
  custom: {
    50: '#8c60b1',
    500: '#561d8f',
    950: '#000000',
  },
}
SCSS
$custom: #561d8f;
$custom-light: #8c60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#561d8f",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 270,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38611,
    "c": 0.17296,
    "h": 301
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#561D8F
secondary
#84BD4B
accent
#E93F94
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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