#563C87#563C87

#563C87 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.3% C 0.121 H 296.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#563C87
RGBrgb(86, 60, 135)
HSLhsl(261, 38%, 38%)
HSVhsv(261, 56%, 53%)
CMYKcmyk(36.3%, 55.6%, 0%, 47.1%)
CIE-LABlab(31.71, 29.00, -38.11)
CIE-LCHlch(31.71, 47.89, 307.27°)
OKLaboklab(42.34% 0.0548 -0.1079)
OKLCHoklch(42.34% 0.121 296.9)
XYZxyz(9.8257, 6.9593, 23.7426)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563C87 #6D873C
analogous
#3C4787 #563C87 #7B3C87
triadic
#563C87 #87563C #3C8756
tetradic
#563C87 #873C47 #6D873C #3C877B
square
#563C87 #873C47 #6D873C #3C877B
split-complementary
#563C87 #877B3C #47873C
monochromatic
#201632 #3B295D #563C87 #714FB1 #937AC4

Accessibility & contrast

On white

8.78
#563C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#563C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563C87
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563C87#FFFFFF#000000##FFFFFF
##563C871.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#244A85
Tritanopia (blue-blind)
#4B4B5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #563c87;
/* rgb */ color: rgb(86, 60, 135);
/* oklch */ color: oklch(42.3% 0.121 296.9);
Tailwind
colors: {
  custom: {
    50: '#8972aa',
    500: '#563c87',
    950: '#000000',
  },
}
SCSS
$custom: #563c87;
$custom-light: #8972aa;
$custom-dark: #000000;
JSON
{
  "hex": "#563c87",
  "rgb": {
    "r": 86,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 260.8,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.12099,
    "h": 296.9
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#563C87
secondary
#99AD71
accent
#CE59A6
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563C87

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

Preview Lab → · Contrast checker → · Palette generator →

#563C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva