#561B7C#561B7C

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

Color values

HEX#561B7C
RGBrgb(86, 27, 124)
HSLhsl(276, 64%, 30%)
HSVhsv(276, 78%, 49%)
CMYKcmyk(30.6%, 78.2%, 0%, 51.4%)
CIE-LABlab(24.38, 43.86, -43.05)
CIE-LCHlch(24.38, 61.45, 315.53°)
OKLaboklab(36.78% 0.0958 -0.1222)
OKLCHoklch(36.78% 0.155 308.1)
XYZxyz(7.8670, 4.2177, 19.4645)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B7C #417C1B
analogous
#261B7C #561B7C #7C1B72
triadic
#561B7C #7C561B #1B7C56
tetradic
#561B7C #7C261B #417C1B #1B727C
square
#561B7C #7C261B #417C1B #1B727C
split-complementary
#561B7C #727C1B #1B7C26
monochromatic
#110519 #33104A #561B7C #7926AE #993DD5

Accessibility & contrast

On white

11.39
#561B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#561B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B7C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B7C#FFFFFF#000000##FFFFFF
##561B7C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561b7c;
/* rgb */ color: rgb(86, 27, 124);
/* oklch */ color: oklch(36.8% 0.155 308.1);
Tailwind
colors: {
  custom: {
    50: '#8a5ea3',
    500: '#561b7c',
    950: '#000000',
  },
}
SCSS
$custom: #561b7c;
$custom-light: #8a5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#561b7c",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 276.495,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3678,
    "c": 0.15531,
    "h": 308.1
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#561B7C
secondary
#6EB043
accent
#E74182
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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