#561790#561790

#561790 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.180 H 301.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#561790
RGBrgb(86, 23, 144)
HSLhsl(271, 72%, 33%)
HSVhsv(271, 84%, 56%)
CMYKcmyk(40.3%, 84%, 0%, 43.5%)
CIE-LABlab(25.58, 50.17, -53.63)
CIE-LCHlch(25.58, 73.44, 313.09°)
OKLaboklab(38.15% 0.0935 -0.1533)
OKLCHoklch(38.15% 0.18 301.4)
XYZxyz(9.1770, 4.6048, 26.7855)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561790 #519017
analogous
#1A1790 #561790 #90178D
triadic
#561790 #905617 #179056
tetradic
#561790 #901A17 #519017 #178D90
square
#561790 #901A17 #519017 #178D90
split-complementary
#561790 #8D9017 #17901A
monochromatic
#170626 #360F5B #561790 #761FC5 #9441E1

Accessibility & contrast

On white

10.93
#561790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#561790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561790
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561790#FFFFFF#000000##FFFFFF
##5617901.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#493A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561790;
/* rgb */ color: rgb(86, 23, 144);
/* oklch */ color: oklch(38.2% 0.180 301.4);
Tailwind
colors: {
  custom: {
    50: '#8c5eb1',
    500: '#561790',
    950: '#000000',
  },
}
SCSS
$custom: #561790;
$custom-light: #8c5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#561790",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 271.24,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.1796,
    "h": 301.4
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

primary
#561790
secondary
#7FC142
accent
#EF3990
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561790

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

Preview Lab → · Contrast checker → · Palette generator →

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