#561C7B#561C7B

#561C7B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.153 H 308.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#561C7B
RGBrgb(86, 28, 123)
HSLhsl(277, 63%, 30%)
HSVhsv(277, 77%, 48%)
CMYKcmyk(30.1%, 77.2%, 0%, 51.8%)
CIE-LABlab(24.45, 43.20, -42.30)
CIE-LCHlch(24.45, 60.46, 315.60°)
OKLaboklab(36.8% 0.095 -0.1201)
OKLCHoklch(36.8% 0.153 308.4)
XYZxyz(7.8274, 4.2391, 19.1409)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C7B #417B1C
analogous
#271C7B #561C7B #7B1C70
triadic
#561C7B #7B561C #1C7B56
tetradic
#561C7B #7B271C #417B1C #1C707B
square
#561C7B #7B271C #417B1C #1C707B
split-complementary
#561C7B #707B1C #1C7B27
monochromatic
#110619 #331149 #561C7B #7927AD #993ED3

Accessibility & contrast

On white

11.36
#561C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#561C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C7B
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C7B#FFFFFF#000000##FFFFFF
##561C7B1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#50334A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561c7b;
/* rgb */ color: rgb(86, 28, 123);
/* oklch */ color: oklch(36.8% 0.153 308.4);
Tailwind
colors: {
  custom: {
    50: '#8a5fa2',
    500: '#561c7b',
    950: '#000000',
  },
}
SCSS
$custom: #561c7b;
$custom-light: #8a5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#561c7b",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 276.632,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36804,
    "c": 0.15311,
    "h": 308.4
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

primary
#561C7B
secondary
#6EAF44
accent
#E64282
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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