#561E8F#561E8F

#561E8F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.172 H 300.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#561E8F
RGBrgb(86, 30, 143)
HSLhsl(270, 65%, 34%)
HSVhsv(270, 79%, 56%)
CMYKcmyk(39.9%, 79%, 0%, 43.9%)
CIE-LABlab(26.42, 47.22, -51.63)
CIE-LCHlch(26.42, 69.97, 312.44°)
OKLaboklab(38.71% 0.0883 -0.1475)
OKLCHoklch(38.71% 0.172 300.9)
XYZxyz(9.2587, 4.8901, 26.4374)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E8F #578F1E
analogous
#1E1E8F #561E8F #8F1E8F
triadic
#561E8F #8F561E #1E8F56
tetradic
#561E8F #8F1E1E #578F1E #1E8F8F
square
#561E8F #8F1E1E #578F1E #1E8F8F
split-complementary
#561E8F #8F8F1E #1E8F1E
monochromatic
#19092A #38135C #561E8F #7429C2 #934EDA

Accessibility & contrast

On white

10.62
#561E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#561E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E8F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E8F#FFFFFF#000000##FFFFFF
##561E8F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#493C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561e8f;
/* rgb */ color: rgb(86, 30, 143);
/* oklch */ color: oklch(38.7% 0.172 300.9);
Tailwind
colors: {
  custom: {
    50: '#8c61b1',
    500: '#561e8f',
    950: '#000000',
  },
}
SCSS
$custom: #561e8f;
$custom-light: #8c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#561e8f",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 269.735,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38712,
    "c": 0.17193,
    "h": 300.9
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#561E8F
secondary
#85BC4C
accent
#E84095
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #561E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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