#563EA4#563EA4

#563EA4 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.8% C 0.157 H 289.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#563EA4
RGBrgb(86, 62, 164)
HSLhsl(254, 45%, 44%)
HSVhsv(254, 62%, 64%)
CMYKcmyk(47.6%, 62.2%, 0%, 35.7%)
CIE-LABlab(34.20, 36.26, -51.79)
CIE-LCHlch(34.20, 63.22, 305.00°)
OKLaboklab(44.81% 0.052 -0.1481)
OKLCHoklch(44.81% 0.157 289.3)
XYZxyz(12.2593, 8.1035, 36.0330)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563EA4 #8CA43E
analogous
#3E59A4 #563EA4 #893EA4
triadic
#563EA4 #A4563E #3EA456
tetradic
#563EA4 #A43E59 #8CA43E #3EA489
square
#563EA4 #A43E59 #8CA43E #3EA489
split-complementary
#563EA4 #A4893E #59A43E
monochromatic
#271C4B #3F2D78 #563EA4 #755DC2 #9B8AD3

Accessibility & contrast

On white

8.01
#563EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#563EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563EA4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563EA4#FFFFFF#000000##FFFFFF
##563EA41.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#3D566B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #563ea4;
/* rgb */ color: rgb(86, 62, 164);
/* oklch */ color: oklch(44.8% 0.157 289.3);
Tailwind
colors: {
  custom: {
    50: '#8c74c0',
    500: '#563ea4',
    950: '#000000',
  },
}
SCSS
$custom: #563ea4;
$custom-light: #8c74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#563ea4",
  "rgb": {
    "r": 86,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 254.118,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44809,
    "c": 0.15693,
    "h": 289.3
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#563EA4
secondary
#AFBD81
accent
#D553B6
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0D0812
muted
#7D7B81

Preview Lab

Preview with #563EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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