#561788#561788

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

Color values

HEX#561788
RGBrgb(86, 23, 136)
HSLhsl(273, 71%, 31%)
HSVhsv(273, 83%, 53%)
CMYKcmyk(36.8%, 83.1%, 0%, 46.7%)
CIE-LABlab(24.86, 48.26, -49.83)
CIE-LCHlch(24.86, 69.37, 314.08°)
OKLaboklab(37.43% 0.0961 -0.1421)
OKLCHoklch(37.43% 0.172 304.1)
XYZxyz(8.5870, 4.3688, 23.6787)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561788 #498817
analogous
#1D1788 #561788 #881781
triadic
#561788 #885617 #178856
tetradic
#561788 #881D17 #498817 #178188
square
#561788 #881D17 #498817 #178188
split-complementary
#561788 #818817 #17881D
monochromatic
#14051F #350E54 #561788 #7720BC #963BDE

Accessibility & contrast

On white

11.21
#561788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561788
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561788#FFFFFF#000000##FFFFFF
##5617881.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561788;
/* rgb */ color: rgb(86, 23, 136);
/* oklch */ color: oklch(37.4% 0.172 304.1);
Tailwind
colors: {
  custom: {
    50: '#8b5dac',
    500: '#561788',
    950: '#000000',
  },
}
SCSS
$custom: #561788;
$custom-light: #8b5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#561788",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 273.451,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.1716,
    "h": 304.1
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#561788
secondary
#76BC3F
accent
#EE3A8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561788

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

Preview Lab → · Contrast checker → · Palette generator →

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