#563A9B#563A9B

#563A9B is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.5% C 0.151 H 292.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#563A9B
RGBrgb(86, 58, 155)
HSLhsl(257, 46%, 42%)
HSVhsv(257, 63%, 61%)
CMYKcmyk(44.5%, 62.6%, 0%, 39.2%)
CIE-LABlab(32.64, 35.97, -48.88)
CIE-LCHlch(32.64, 60.69, 306.34°)
OKLaboklab(43.46% 0.0571 -0.1395)
OKLCHoklch(43.46% 0.151 292.3)
XYZxyz(11.2656, 7.3708, 31.8331)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563A9B #7F9B3A
analogous
#3A4E9B #563A9B #873A9B
triadic
#563A9B #9B563A #3A9B56
tetradic
#563A9B #9B3A4E #7F9B3A #3A9B87
square
#563A9B #9B3A4E #7F9B3A #3A9B87
split-complementary
#563A9B #9B873A #4E9B3A
monochromatic
#251942 #3D296E #563A9B #7253BF #9780CF

Accessibility & contrast

On white

8.49
#563A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#563A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563A9B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563A9B#FFFFFF#000000##FFFFFF
##563A9B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#425065
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #563a9b;
/* rgb */ color: rgb(86, 58, 155);
/* oklch */ color: oklch(43.5% 0.151 292.3);
Tailwind
colors: {
  custom: {
    50: '#8b71b9',
    500: '#563a9b',
    950: '#000000',
  },
}
SCSS
$custom: #563a9b;
$custom-light: #8b71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#563a9b",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 257.32,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43459,
    "c": 0.15077,
    "h": 292.3
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#563A9B
secondary
#A6B978
accent
#D553B0
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #563A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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