#561C7F#561C7F

#561C7F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.157 H 306.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#561C7F
RGBrgb(86, 28, 127)
HSLhsl(275, 64%, 30%)
HSVhsv(275, 78%, 50%)
CMYKcmyk(32.3%, 78%, 0%, 50.2%)
CIE-LABlab(24.77, 44.15, -44.31)
CIE-LCHlch(24.77, 62.55, 314.89°)
OKLaboklab(37.13% 0.0942 -0.126)
OKLCHoklch(37.13% 0.157 306.8)
XYZxyz(8.0829, 4.3413, 20.4867)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C7F #457F1C
analogous
#251C7F #561C7F #7F1C76
triadic
#561C7F #7F561C #1C7F56
tetradic
#561C7F #7F251C #457F1C #1C767F
square
#561C7F #7F251C #457F1C #1C767F
split-complementary
#561C7F #767F1C #1C7F25
monochromatic
#12061B #34114D #561C7F #7827B1 #9740D5

Accessibility & contrast

On white

11.24
#561C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561C7F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C7F#FFFFFF#000000##FFFFFF
##561C7F1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#4F344C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561c7f;
/* rgb */ color: rgb(86, 28, 127);
/* oklch */ color: oklch(37.1% 0.157 306.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fa5',
    500: '#561c7f',
    950: '#000000',
  },
}
SCSS
$custom: #561c7f;
$custom-light: #8a5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#561c7f",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 275.152,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37132,
    "c": 0.15728,
    "h": 306.8
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#561C7F
secondary
#72B344
accent
#E74186
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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