#561B7E#561B7E

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

Color values

HEX#561B7E
RGBrgb(86, 27, 126)
HSLhsl(276, 65%, 30%)
HSVhsv(276, 79%, 49%)
CMYKcmyk(31.7%, 78.6%, 0%, 50.6%)
CIE-LABlab(24.54, 44.33, -44.05)
CIE-LCHlch(24.54, 62.50, 315.18°)
OKLaboklab(36.95% 0.0954 -0.1252)
OKLCHoklch(36.95% 0.157 307.3)
XYZxyz(7.9948, 4.2688, 20.1374)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B7E #437E1B
analogous
#251B7E #561B7E #7E1B74
triadic
#561B7E #7E561B #1B7E56
tetradic
#561B7E #7E251B #437E1B #1B747E
square
#561B7E #7E251B #437E1B #1B747E
split-complementary
#561B7E #747E1B #1B7E25
monochromatic
#110519 #34104C #561B7E #7826B0 #983ED6

Accessibility & contrast

On white

11.33
#561B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561B7E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B7E#FFFFFF#000000##FFFFFF
##561B7E1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#4F334C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561b7e;
/* rgb */ color: rgb(86, 27, 126);
/* oklch */ color: oklch(36.9% 0.157 307.3);
Tailwind
colors: {
  custom: {
    50: '#8a5ea4',
    500: '#561b7e',
    950: '#000000',
  },
}
SCSS
$custom: #561b7e;
$custom-light: #8a5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#561b7e",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 275.758,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.36946,
    "c": 0.15738,
    "h": 307.3
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#561B7E
secondary
#70B243
accent
#E84084
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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