#561783#561783

#561783 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.167 H 305.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#561783
RGBrgb(86, 23, 131)
HSLhsl(275, 70%, 30%)
HSVhsv(275, 82%, 51%)
CMYKcmyk(34.4%, 82.4%, 0%, 48.6%)
CIE-LABlab(24.42, 47.08, -47.41)
CIE-LCHlch(24.42, 66.81, 314.80°)
OKLaboklab(36.99% 0.0976 -0.135)
OKLCHoklch(36.99% 0.167 305.9)
XYZxyz(8.2400, 4.2300, 21.8507)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561783 #448317
analogous
#201783 #561783 #83177A
triadic
#561783 #835617 #178356
tetradic
#561783 #832017 #448317 #177A83
square
#561783 #832017 #448317 #177A83
split-complementary
#561783 #7A8317 #178320
monochromatic
#12051B #340E4F #561783 #7820B7 #9838DC

Accessibility & contrast

On white

11.38
#561783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#561783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561783
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561783#FFFFFF#000000##FFFFFF
##5617831.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#4E344E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561783;
/* rgb */ color: rgb(86, 23, 131);
/* oklch */ color: oklch(37.0% 0.167 305.9);
Tailwind
colors: {
  custom: {
    50: '#8b5da8',
    500: '#561783',
    950: '#000000',
  },
}
SCSS
$custom: #561783;
$custom-light: #8b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#561783",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 275,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3699,
    "c": 0.16661,
    "h": 305.9
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#561783
secondary
#71B73F
accent
#ED3B85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561783

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

Preview Lab → · Contrast checker → · Palette generator →

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