#563CAB#563CAB

#563CAB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.0% C 0.169 H 288.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#563CAB
RGBrgb(86, 60, 171)
HSLhsl(254, 48%, 45%)
HSVhsv(254, 65%, 67%)
CMYKcmyk(49.7%, 64.9%, 0%, 32.9%)
CIE-LABlab(34.29, 39.52, -55.83)
CIE-LCHlch(34.29, 68.40, 305.29°)
OKLaboklab(45.05% 0.0535 -0.16)
OKLCHoklch(45.05% 0.169 288.5)
XYZxyz(12.8022, 8.1499, 39.4187)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563CAB #91AB3C
analogous
#3C59AB #563CAB #8D3CAB
triadic
#563CAB #AB563C #3CAB56
tetradic
#563CAB #AB3C59 #91AB3C #3CAB8D
square
#563CAB #AB3C59 #91AB3C #3CAB8D
split-complementary
#563CAB #AB8D3C #59AB3C
monochromatic
#281C50 #3F2C7E #563CAB #765EC6 #9D8BD6

Accessibility & contrast

On white

7.98
#563CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#563CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563CAB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563CAB#FFFFFF#000000##FFFFFF
##563CAB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#39576E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #563cab;
/* rgb */ color: rgb(86, 60, 171);
/* oklch */ color: oklch(45.0% 0.169 288.5);
Tailwind
colors: {
  custom: {
    50: '#8d73c5',
    500: '#563cab',
    950: '#000000',
  },
}
SCSS
$custom: #563cab;
$custom-light: #8d73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#563cab",
  "rgb": {
    "r": 86,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 254.054,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.16868,
    "h": 288.5
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#563CAB
secondary
#B2C182
accent
#D850B8
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #563CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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