#561E7C#561E7C

#561E7C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.152 H 307.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#561E7C
RGBrgb(86, 30, 124)
HSLhsl(276, 61%, 30%)
HSVhsv(276, 76%, 49%)
CMYKcmyk(30.6%, 75.8%, 0%, 51.4%)
CIE-LABlab(24.83, 42.56, -42.31)
CIE-LCHlch(24.83, 60.01, 315.17°)
OKLaboklab(37.1% 0.0928 -0.1201)
OKLCHoklch(37.1% 0.152 307.7)
XYZxyz(7.9393, 4.3623, 19.4886)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E7C #447C1E
analogous
#271E7C #561E7C #7C1E73
triadic
#561E7C #7C561E #1E7C56
tetradic
#561E7C #7C271E #447C1E #1E737C
square
#561E7C #7C271E #447C1E #1E737C
split-complementary
#561E7C #737C1E #1E7C27
monochromatic
#120619 #34124B #561E7C #782AAD #9843D1

Accessibility & contrast

On white

11.22
#561E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561E7C
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E7C#FFFFFF#000000##FFFFFF
##561E7C1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#50344B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561e7c;
/* rgb */ color: rgb(86, 30, 124);
/* oklch */ color: oklch(37.1% 0.152 307.7);
Tailwind
colors: {
  custom: {
    50: '#8a60a3',
    500: '#561e7c',
    950: '#000000',
  },
}
SCSS
$custom: #561e7c;
$custom-light: #8a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#561e7c",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 275.745,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.15176,
    "h": 307.7
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#561E7C
secondary
#71AF46
accent
#E44485
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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