#563D81#563D81

#563D81 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 42.1% C 0.111 H 298.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#563D81
RGBrgb(86, 61, 129)
HSLhsl(262, 36%, 37%)
HSVhsv(262, 53%, 51%)
CMYKcmyk(33.3%, 52.7%, 0%, 49.4%)
CIE-LABlab(31.58, 26.69, -34.61)
CIE-LCHlch(31.58, 43.70, 307.65°)
OKLaboklab(42.12% 0.053 -0.0976)
OKLCHoklch(42.12% 0.111 298.5)
XYZxyz(9.4680, 6.9008, 21.5978)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563D81 #68813D
analogous
#3D4681 #563D81 #783D81
triadic
#563D81 #81563D #3D8156
tetradic
#563D81 #813D46 #68813D #3D8178
square
#563D81 #813D46 #68813D #3D8178
split-complementary
#563D81 #81783D #46813D
monochromatic
#1F162E #3A2957 #563D81 #7251AB #9379C0

Accessibility & contrast

On white

8.82
#563D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#563D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563D81
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563D81#FFFFFF#000000##FFFFFF
##563D811.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#2B4A7F
Tritanopia (blue-blind)
#4D4A59
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #563d81;
/* rgb */ color: rgb(86, 61, 129);
/* oklch */ color: oklch(42.1% 0.111 298.5);
Tailwind
colors: {
  custom: {
    50: '#8873a6',
    500: '#563d81',
    950: '#000000',
  },
}
SCSS
$custom: #563d81;
$custom-light: #8873a6;
$custom-dark: #000000;
JSON
{
  "hex": "#563d81",
  "rgb": {
    "r": 86,
    "g": 61,
    "b": 129
  },
  "hsl": {
    "h": 262.059,
    "s": 35.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.11105,
    "h": 298.5
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#563D81
secondary
#94A970
accent
#CC5CA3
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #563D81

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

Preview Lab → · Contrast checker → · Palette generator →

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