#563D9A#563D9A

#563D9A is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.145 H 291.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#563D9A
RGBrgb(86, 61, 154)
HSLhsl(256, 43%, 42%)
HSVhsv(256, 60%, 60%)
CMYKcmyk(44.2%, 60.4%, 0%, 39.6%)
CIE-LABlab(33.24, 33.89, -47.30)
CIE-LCHlch(33.24, 58.19, 305.62°)
OKLaboklab(43.88% 0.0536 -0.1349)
OKLCHoklch(43.88% 0.145 291.7)
XYZxyz(11.3376, 7.6487, 31.4446)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563D9A #819A3D
analogous
#3D539A #563D9A #853D9A
triadic
#563D9A #9A563D #3D9A56
tetradic
#563D9A #9A3D53 #819A3D #3D9A85
square
#563D9A #9A3D53 #819A3D #3D9A85
split-complementary
#563D9A #9A853D #539A3D
monochromatic
#251A42 #3E2C6E #563D9A #7358BD #9783CE

Accessibility & contrast

On white

8.30
#563D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#563D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563D9A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563D9A#FFFFFF#000000##FFFFFF
##563D9A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#024C98
Tritanopia (blue-blind)
#435265
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #563d9a;
/* rgb */ color: rgb(86, 61, 154);
/* oklch */ color: oklch(43.9% 0.145 291.7);
Tailwind
colors: {
  custom: {
    50: '#8b73b8',
    500: '#563d9a',
    950: '#000000',
  },
}
SCSS
$custom: #563d9a;
$custom-light: #8b73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#563d9a",
  "rgb": {
    "r": 86,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 256.129,
    "s": 43.256,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43877,
    "c": 0.14514,
    "h": 291.7
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#563D9A
secondary
#A8B87B
accent
#D355B1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #563D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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