#563D8B#563D8B

#563D8B is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.8% C 0.125 H 295.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#563D8B
RGBrgb(86, 61, 139)
HSLhsl(259, 39%, 39%)
HSVhsv(259, 56%, 55%)
CMYKcmyk(38.1%, 56.1%, 0%, 45.5%)
CIE-LABlab(32.21, 29.52, -39.78)
CIE-LCHlch(32.21, 49.54, 306.58°)
OKLaboklab(42.79% 0.0536 -0.1128)
OKLCHoklch(42.79% 0.125 295.4)
XYZxyz(10.1655, 7.1798, 25.2714)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563D8B #728B3D
analogous
#3D4B8B #563D8B #7D3D8B
triadic
#563D8B #8B563D #3D8B56
tetradic
#563D8B #8B3D4B #728B3D #3D8B7D
square
#563D8B #8B3D4B #728B3D #3D8B7D
split-complementary
#563D8B #8B7D3D #4B8B3D
monochromatic
#211836 #3C2A60 #563D8B #7152B3 #947DC6

Accessibility & contrast

On white

8.62
#563D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#563D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563D8B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563D8B#FFFFFF#000000##FFFFFF
##563D8B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#214B89
Tritanopia (blue-blind)
#494D5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #563d8b;
/* rgb */ color: rgb(86, 61, 139);
/* oklch */ color: oklch(42.8% 0.125 295.4);
Tailwind
colors: {
  custom: {
    50: '#8973ad',
    500: '#563d8b',
    950: '#000000',
  },
}
SCSS
$custom: #563d8b;
$custom-light: #8973ad;
$custom-dark: #000000;
JSON
{
  "hex": "#563d8b",
  "rgb": {
    "r": 86,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 259.231,
    "s": 39,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.12486,
    "h": 295.4
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#563D8B
secondary
#9DB074
accent
#CF59A9
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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