#563EA6#563EA6

#563EA6 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 45.0% C 0.160 H 289.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#563EA6
RGBrgb(86, 62, 166)
HSLhsl(254, 46%, 45%)
HSVhsv(254, 63%, 65%)
CMYKcmyk(48.2%, 62.7%, 0%, 34.9%)
CIE-LABlab(34.35, 36.86, -52.75)
CIE-LCHlch(34.35, 64.35, 304.94°)
OKLaboklab(44.97% 0.0518 -0.1509)
OKLCHoklch(44.97% 0.16 289)
XYZxyz(12.4413, 8.1764, 36.9917)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563EA6 #8EA63E
analogous
#3E5AA6 #563EA6 #8A3EA6
triadic
#563EA6 #A6563E #3EA656
tetradic
#563EA6 #A63E5A #8EA63E #3EA68A
square
#563EA6 #A63E5A #8EA63E #3EA68A
split-complementary
#563EA6 #A68A3E #5AA63E
monochromatic
#281D4D #3F2D79 #563EA6 #755EC3 #9C8BD4

Accessibility & contrast

On white

7.97
#563EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#563EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563EA6
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563EA6#FFFFFF#000000##FFFFFF
##563EA61.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#3C566C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #563ea6;
/* rgb */ color: rgb(86, 62, 166);
/* oklch */ color: oklch(45.0% 0.160 289.0);
Tailwind
colors: {
  custom: {
    50: '#8c74c1',
    500: '#563ea6',
    950: '#000000',
  },
}
SCSS
$custom: #563ea6;
$custom-light: #8c74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#563ea6",
  "rgb": {
    "r": 86,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 253.846,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.15955,
    "h": 289
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#563EA6
secondary
#B0BE82
accent
#D553B7
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #563EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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