#561C7D#561C7D

#561C7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.155 H 307.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#561C7D
RGBrgb(86, 28, 125)
HSLhsl(276, 63%, 30%)
HSVhsv(276, 78%, 49%)
CMYKcmyk(31.2%, 77.6%, 0%, 51%)
CIE-LABlab(24.61, 43.67, -43.31)
CIE-LCHlch(24.61, 61.51, 315.24°)
OKLaboklab(36.97% 0.0946 -0.123)
OKLCHoklch(36.97% 0.155 307.6)
XYZxyz(7.9539, 4.2897, 19.8070)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C7D #437D1C
analogous
#251C7D #561C7D #7D1C74
triadic
#561C7D #7D561C #1C7D56
tetradic
#561C7D #7D251C #437D1C #1C747D
square
#561C7D #7D251C #437D1C #1C747D
split-complementary
#561C7D #747D1C #1C7D25
monochromatic
#110619 #34114B #561C7D #7827AF #983FD4

Accessibility & contrast

On white

11.30
#561C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561C7D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C7D#FFFFFF#000000##FFFFFF
##561C7D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#50344B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561c7d;
/* rgb */ color: rgb(86, 28, 125);
/* oklch */ color: oklch(37.0% 0.155 307.6);
Tailwind
colors: {
  custom: {
    50: '#8a5fa3',
    500: '#561c7d',
    950: '#000000',
  },
}
SCSS
$custom: #561c7d;
$custom-light: #8a5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#561c7d",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 275.876,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.36967,
    "c": 0.1552,
    "h": 307.6
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#561C7D
secondary
#70B144
accent
#E64184
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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