#561E95#561E95

#561E95 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.178 H 299.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#561E95
RGBrgb(86, 30, 149)
HSLhsl(268, 66%, 35%)
HSVhsv(268, 80%, 58%)
CMYKcmyk(42.3%, 79.9%, 0%, 41.6%)
CIE-LABlab(26.95, 48.72, -54.47)
CIE-LCHlch(26.95, 73.08, 311.81°)
OKLaboklab(39.25% 0.0866 -0.1558)
OKLCHoklch(39.25% 0.178 299.1)
XYZxyz(9.7255, 5.0768, 28.8955)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E95 #5D951E
analogous
#1E2295 #561E95 #911E95
triadic
#561E95 #95561E #1E9556
tetradic
#561E95 #951E22 #5D951E #1E9591
square
#561E95 #951E22 #5D951E #1E9591
split-complementary
#561E95 #95911E #22951E
monochromatic
#1B092F #391462 #561E95 #7328C8 #9351DC

Accessibility & contrast

On white

10.42
#561E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#561E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E95
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E95#FFFFFF#000000##FFFFFF
##561E951.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#463F59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561e95;
/* rgb */ color: rgb(86, 30, 149);
/* oklch */ color: oklch(39.2% 0.178 299.1);
Tailwind
colors: {
  custom: {
    50: '#8c61b5',
    500: '#561e95',
    950: '#000000',
  },
}
SCSS
$custom: #561e95;
$custom-light: #8c61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#561e95",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 268.235,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39249,
    "c": 0.17828,
    "h": 299.1
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#561E95
secondary
#8BBF50
accent
#E93E99
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #561E95

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

Preview Lab → · Contrast checker → · Palette generator →

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