#561878#561878

#561878 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.155 H 310.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#561878
RGBrgb(86, 24, 120)
HSLhsl(279, 67%, 28%)
HSVhsv(279, 80%, 47%)
CMYKcmyk(28.3%, 80%, 0%, 52.9%)
CIE-LABlab(23.63, 44.15, -41.71)
CIE-LCHlch(23.63, 60.74, 316.62°)
OKLaboklab(36.15% 0.0995 -0.1183)
OKLCHoklch(36.15% 0.155 310.1)
XYZxyz(7.5539, 3.9879, 18.1375)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561878 #3A7818
analogous
#261878 #561878 #78186A
triadic
#561878 #785618 #187856
tetradic
#561878 #782618 #3A7818 #186A78
square
#561878 #782618 #3A7818 #186A78
split-complementary
#561878 #6A7818 #187826
monochromatic
#12051A #310E45 #561878 #7B22AB #9D34D6

Accessibility & contrast

On white

11.68
#561878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#561878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561878
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561878#FFFFFF#000000##FFFFFF
##5618781.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#512F47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561878;
/* rgb */ color: rgb(86, 24, 120);
/* oklch */ color: oklch(36.2% 0.155 310.1);
Tailwind
colors: {
  custom: {
    50: '#8a5da0',
    500: '#561878',
    950: '#000000',
  },
}
SCSS
$custom: #561878;
$custom-light: #8a5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#561878",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 278.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36154,
    "c": 0.15459,
    "h": 310.1
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#561878
secondary
#66AD3F
accent
#EA3E7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #561878

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

Preview Lab → · Contrast checker → · Palette generator →

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