#561887#561887

#561887 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.170 H 304.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#561887
RGBrgb(86, 24, 135)
HSLhsl(274, 70%, 31%)
HSVhsv(274, 82%, 53%)
CMYKcmyk(36.3%, 82.2%, 0%, 47.1%)
CIE-LABlab(24.89, 47.65, -49.14)
CIE-LCHlch(24.89, 68.45, 314.12°)
OKLaboklab(37.43% 0.0956 -0.1401)
OKLCHoklch(37.43% 0.17 304.3)
XYZxyz(8.5365, 4.3810, 23.3129)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561887 #498718
analogous
#1F1887 #561887 #871880
triadic
#561887 #875618 #188756
tetradic
#561887 #871F18 #498718 #188087
square
#561887 #871F18 #498718 #188087
split-complementary
#561887 #808718 #18871F
monochromatic
#14061F #350F53 #561887 #7721BB #963DDC

Accessibility & contrast

On white

11.19
#561887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561887
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561887#FFFFFF#000000##FFFFFF
##5618871.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.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: #561887;
/* rgb */ color: rgb(86, 24, 135);
/* oklch */ color: oklch(37.4% 0.170 304.3);
Tailwind
colors: {
  custom: {
    50: '#8b5eab',
    500: '#561887',
    950: '#000000',
  },
}
SCSS
$custom: #561887;
$custom-light: #8b5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#561887",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 273.514,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.16967,
    "h": 304.3
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#561887
secondary
#76BB40
accent
#ED3B8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561887

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

Preview Lab → · Contrast checker → · Palette generator →

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