#563D8A#563D8A

#563D8A is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.7% C 0.123 H 295.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#563D8A
RGBrgb(86, 61, 138)
HSLhsl(259, 39%, 39%)
HSVhsv(259, 56%, 54%)
CMYKcmyk(37.7%, 55.8%, 0%, 45.9%)
CIE-LABlab(32.15, 29.24, -39.27)
CIE-LCHlch(32.15, 48.96, 306.67°)
OKLaboklab(42.72% 0.0536 -0.1113)
OKLCHoklch(42.72% 0.123 295.7)
XYZxyz(10.0928, 7.1507, 24.8883)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563D8A #718A3D
analogous
#3D4B8A #563D8A #7D3D8A
triadic
#563D8A #8A563D #3D8A56
tetradic
#563D8A #8A3D4B #718A3D #3D8A7D
square
#563D8A #8A3D4B #718A3D #3D8A7D
split-complementary
#563D8A #8A7D3D #4B8A3D
monochromatic
#211735 #3C2A60 #563D8A #7152B2 #947CC5

Accessibility & contrast

On white

8.64
#563D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#563D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563D8A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563D8A#FFFFFF#000000##FFFFFF
##563D8A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#234B88
Tritanopia (blue-blind)
#4A4D5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #563d8a;
/* rgb */ color: rgb(86, 61, 138);
/* oklch */ color: oklch(42.7% 0.123 295.7);
Tailwind
colors: {
  custom: {
    50: '#8973ad',
    500: '#563d8a',
    950: '#000000',
  },
}
SCSS
$custom: #563d8a;
$custom-light: #8973ad;
$custom-dark: #000000;
JSON
{
  "hex": "#563d8a",
  "rgb": {
    "r": 86,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 259.481,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.12349,
    "h": 295.7
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#563D8A
secondary
#9CAF74
accent
#CF59A8
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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