#563D86#563D86

#563D86 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.4% C 0.118 H 296.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#563D86
RGBrgb(86, 61, 134)
HSLhsl(261, 37%, 38%)
HSVhsv(261, 54%, 53%)
CMYKcmyk(35.8%, 54.5%, 0%, 47.5%)
CIE-LABlab(31.89, 28.10, -37.21)
CIE-LCHlch(31.89, 46.63, 307.06°)
OKLaboklab(42.45% 0.0534 -0.1052)
OKLCHoklch(42.45% 0.118 296.9)
XYZxyz(9.8085, 7.0370, 23.3911)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563D86 #6D863D
analogous
#3D4886 #563D86 #7A3D86
triadic
#563D86 #86563D #3D8656
tetradic
#563D86 #863D48 #6D863D #3D867A
square
#563D86 #863D48 #6D863D #3D867A
split-complementary
#563D86 #867A3D #48863D
monochromatic
#201732 #3B2A5C #563D86 #7151B0 #937BC3

Accessibility & contrast

On white

8.72
#563D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#563D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563D86
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563D86#FFFFFF#000000##FFFFFF
##563D861.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B89
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#4B4C5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #563d86;
/* rgb */ color: rgb(86, 61, 134);
/* oklch */ color: oklch(42.4% 0.118 296.9);
Tailwind
colors: {
  custom: {
    50: '#8873aa',
    500: '#563d86',
    950: '#000000',
  },
}
SCSS
$custom: #563d86;
$custom-light: #8873aa;
$custom-dark: #000000;
JSON
{
  "hex": "#563d86",
  "rgb": {
    "r": 86,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 260.548,
    "s": 37.436,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.11799,
    "h": 296.9
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#563D86
secondary
#99AD72
accent
#CD5AA6
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563D86

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

Preview Lab → · Contrast checker → · Palette generator →

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