#561987#561987

#561987 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.169 H 304.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#561987
RGBrgb(86, 25, 135)
HSLhsl(273, 69%, 31%)
HSVhsv(273, 81%, 53%)
CMYKcmyk(36.3%, 81.5%, 0%, 47.1%)
CIE-LABlab(25.02, 47.27, -48.93)
CIE-LCHlch(25.02, 68.04, 314.01°)
OKLaboklab(37.52% 0.0948 -0.1395)
OKLCHoklch(37.52% 0.169 304.2)
XYZxyz(8.5575, 4.4230, 23.3199)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561987 #4A8719
analogous
#1F1987 #561987 #871981
triadic
#561987 #875619 #198756
tetradic
#561987 #871F19 #4A8719 #198187
square
#561987 #871F19 #4A8719 #198187
split-complementary
#561987 #818719 #19871F
monochromatic
#140620 #350F53 #561987 #7723BB #963FDB

Accessibility & contrast

On white

11.14
#561987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#561987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561987
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561987#FFFFFF#000000##FFFFFF
##5619871.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#4C3650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561987;
/* rgb */ color: rgb(86, 25, 135);
/* oklch */ color: oklch(37.5% 0.169 304.2);
Tailwind
colors: {
  custom: {
    50: '#8b5eab',
    500: '#561987',
    950: '#000000',
  },
}
SCSS
$custom: #561987;
$custom-light: #8b5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#561987",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 273.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3752,
    "c": 0.16869,
    "h": 304.2
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#561987
secondary
#77BA41
accent
#EC3C8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561987

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

Preview Lab → · Contrast checker → · Palette generator →

#561987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva