#563F8A#563F8A

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

Color values

HEX#563F8A
RGBrgb(86, 63, 138)
HSLhsl(258, 37%, 39%)
HSVhsv(258, 54%, 54%)
CMYKcmyk(37.7%, 54.3%, 0%, 45.9%)
CIE-LABlab(32.63, 28.00, -38.50)
CIE-LCHlch(32.63, 47.61, 306.03°)
OKLaboklab(43.08% 0.0508 -0.109)
OKLCHoklch(43.08% 0.12 295)
XYZxyz(10.2015, 7.3682, 24.9246)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563F8A #738A3F
analogous
#3F4E8A #563F8A #7C3F8A
triadic
#563F8A #8A563F #3F8A56
tetradic
#563F8A #8A3F4E #738A3F #3F8A7C
square
#563F8A #8A3F4E #738A3F #3F8A7C
split-complementary
#563F8A #8A7C3F #4E8A3F
monochromatic
#221936 #3C2C60 #563F8A #7155B1 #947FC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##563F8A#FFFFFF#000000##FFFFFF
##563F8A1.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)
#204D8D
Deuteranopia (green-blind)
#264C88
Tritanopia (blue-blind)
#4A4E5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #563f8a;
/* rgb */ color: rgb(86, 63, 138);
/* oklch */ color: oklch(43.1% 0.120 295.0);
Tailwind
colors: {
  custom: {
    50: '#8975ad',
    500: '#563f8a',
    950: '#000000',
  },
}
SCSS
$custom: #563f8a;
$custom-light: #8975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#563f8a",
  "rgb": {
    "r": 86,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 258.4,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43081,
    "c": 0.12028,
    "h": 295
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#563F8A
secondary
#9DAF76
accent
#CD5BAA
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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