#561B7F#561B7F

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

Color values

HEX#561B7F
RGBrgb(86, 27, 127)
HSLhsl(275, 65%, 30%)
HSVhsv(275, 79%, 50%)
CMYKcmyk(32.3%, 78.7%, 0%, 50.2%)
CIE-LABlab(24.62, 44.57, -44.55)
CIE-LCHlch(24.62, 63.02, 315.01°)
OKLaboklab(37.03% 0.0951 -0.1267)
OKLCHoklch(37.03% 0.158 306.9)
XYZxyz(8.0596, 4.2947, 20.4789)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B7F #447F1B
analogous
#241B7F #561B7F #7F1B76
triadic
#561B7F #7F561B #1B7F56
tetradic
#561B7F #7F241B #447F1B #1B767F
square
#561B7F #7F241B #447F1B #1B767F
split-complementary
#561B7F #767F1B #1B7F24
monochromatic
#12061A #34104D #561B7F #7826B1 #983ED6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##561B7F#FFFFFF#000000##FFFFFF
##561B7F1.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)
#003982
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#4F344C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561b7f;
/* rgb */ color: rgb(86, 27, 127);
/* oklch */ color: oklch(37.0% 0.158 306.9);
Tailwind
colors: {
  custom: {
    50: '#8a5ea5',
    500: '#561b7f',
    950: '#000000',
  },
}
SCSS
$custom: #561b7f;
$custom-light: #8a5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#561b7f",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 275.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37029,
    "c": 0.15841,
    "h": 306.9
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#561B7F
secondary
#71B343
accent
#E84085
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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