#563AB1#563AB1

#563AB1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.179 H 287.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#563AB1
RGBrgb(86, 58, 177)
HSLhsl(254, 51%, 46%)
HSVhsv(254, 67%, 69%)
CMYKcmyk(51.4%, 67.2%, 0%, 30.6%)
CIE-LABlab(34.35, 42.45, -59.31)
CIE-LCHlch(34.35, 72.94, 305.59°)
OKLaboklab(45.24% 0.0548 -0.1702)
OKLCHoklch(45.24% 0.179 287.8)
XYZxyz(13.2843, 8.1782, 42.4650)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563AB1 #95B13A
analogous
#3A59B1 #563AB1 #913AB1
triadic
#563AB1 #B1563A #3AB156
tetradic
#563AB1 #B13A59 #95B13A #3AB191
square
#563AB1 #B13A59 #95B13A #3AB191
split-complementary
#563AB1 #B1913A #59B13A
monochromatic
#291C55 #402B83 #563AB1 #775ECA #9E8CD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##563AB1#FFFFFF#000000##FFFFFF
##563AB11.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)
#0053B5
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#355870
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #563ab1;
/* rgb */ color: rgb(86, 58, 177);
/* oklch */ color: oklch(45.2% 0.179 287.8);
Tailwind
colors: {
  custom: {
    50: '#8e72c9',
    500: '#563ab1',
    950: '#000000',
  },
}
SCSS
$custom: #563ab1;
$custom-light: #8e72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#563ab1",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 254.118,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45239,
    "c": 0.1788,
    "h": 287.8
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#563AB1
secondary
#B5C483
accent
#DA4EB9
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #563AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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