#561796#561796

#561796 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.186 H 299.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#561796
RGBrgb(86, 23, 150)
HSLhsl(270, 73%, 34%)
HSVhsv(270, 85%, 59%)
CMYKcmyk(42.7%, 84.7%, 0%, 41.2%)
CIE-LABlab(26.14, 51.61, -56.42)
CIE-LCHlch(26.14, 76.47, 312.45°)
OKLaboklab(38.71% 0.0915 -0.1615)
OKLCHoklch(38.71% 0.186 299.5)
XYZxyz(9.6478, 4.7931, 29.2651)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561796 #579617
analogous
#171896 #561796 #961796
triadic
#561796 #965617 #179656
tetradic
#561796 #961718 #579617 #179696
square
#561796 #961718 #579617 #179696
split-complementary
#561796 #969617 #189617
monochromatic
#19072C #380F61 #561796 #741FCB #9345E2

Accessibility & contrast

On white

10.72
#561796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#561796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561796
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561796#FFFFFF#000000##FFFFFF
##5617961.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#463C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561796;
/* rgb */ color: rgb(86, 23, 150);
/* oklch */ color: oklch(38.7% 0.186 299.5);
Tailwind
colors: {
  custom: {
    50: '#8d5eb6',
    500: '#561796',
    950: '#000000',
  },
}
SCSS
$custom: #561796;
$custom-light: #8d5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#561796",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 269.764,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38711,
    "c": 0.1856,
    "h": 299.5
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#561796
secondary
#85C345
accent
#F03895
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561796

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

Preview Lab → · Contrast checker → · Palette generator →

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