#563AAB#563AAB

#563AAB is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.171 H 288.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#563AAB
RGBrgb(86, 58, 171)
HSLhsl(255, 49%, 45%)
HSVhsv(255, 66%, 67%)
CMYKcmyk(49.7%, 66.1%, 0%, 32.9%)
CIE-LABlab(33.87, 40.67, -56.52)
CIE-LCHlch(33.87, 69.64, 305.74°)
OKLaboklab(44.74% 0.0556 -0.162)
OKLCHoklch(44.74% 0.171 288.9)
XYZxyz(12.6994, 7.9443, 39.3844)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563AAB #8FAB3A
analogous
#3A57AB #563AAB #8E3AAB
triadic
#563AAB #AB563A #3AAB56
tetradic
#563AAB #AB3A57 #8FAB3A #3AAB8E
square
#563AAB #AB3A57 #8FAB3A #3AAB8E
split-complementary
#563AAB #AB8E3A #57AB3A
monochromatic
#281B50 #3F2A7D #563AAB #765BC7 #9C89D7

Accessibility & contrast

On white

8.11
#563AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#563AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563AAB
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563AAB#FFFFFF#000000##FFFFFF
##563AAB1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#39566D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #563aab;
/* rgb */ color: rgb(86, 58, 171);
/* oklch */ color: oklch(44.7% 0.171 288.9);
Tailwind
colors: {
  custom: {
    50: '#8d72c5',
    500: '#563aab',
    950: '#000000',
  },
}
SCSS
$custom: #563aab;
$custom-light: #8d72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#563aab",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 254.867,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.17128,
    "h": 288.9
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#563AAB
secondary
#B1C180
accent
#D94FB7
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #563AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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