#563D8D#563D8D

#563D8D is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.9% C 0.128 H 294.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#563D8D
RGBrgb(86, 61, 141)
HSLhsl(259, 40%, 40%)
HSVhsv(259, 57%, 55%)
CMYKcmyk(39%, 56.7%, 0%, 44.7%)
CIE-LABlab(32.34, 30.10, -40.80)
CIE-LCHlch(32.34, 50.70, 306.41°)
OKLaboklab(42.93% 0.0537 -0.1158)
OKLCHoklch(42.93% 0.128 294.9)
XYZxyz(10.3130, 7.2388, 26.0480)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563D8D #748D3D
analogous
#3D4C8D #563D8D #7E3D8D
triadic
#563D8D #8D563D #3D8D56
tetradic
#563D8D #8D3D4C #748D3D #3D8D7E
square
#563D8D #8D3D4C #748D3D #3D8D7E
split-complementary
#563D8D #8D7E3D #4C8D3D
monochromatic
#221838 #3C2B62 #563D8D #7153B4 #947DC7

Accessibility & contrast

On white

8.58
#563D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#563D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563D8D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563D8D#FFFFFF#000000##FFFFFF
##563D8D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#484E5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #563d8d;
/* rgb */ color: rgb(86, 61, 141);
/* oklch */ color: oklch(42.9% 0.128 294.9);
Tailwind
colors: {
  custom: {
    50: '#8973af',
    500: '#563d8d',
    950: '#000000',
  },
}
SCSS
$custom: #563d8d;
$custom-light: #8973af;
$custom-dark: #000000;
JSON
{
  "hex": "#563d8d",
  "rgb": {
    "r": 86,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 258.75,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.12761,
    "h": 294.9
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#563D8D
secondary
#9EB175
accent
#CF58AA
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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