#563A8A#563A8A

#563A8A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.2% C 0.128 H 296.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#563A8A
RGBrgb(86, 58, 138)
HSLhsl(261, 41%, 38%)
HSVhsv(261, 58%, 54%)
CMYKcmyk(37.7%, 58%, 0%, 45.9%)
CIE-LABlab(31.44, 31.07, -40.41)
CIE-LCHlch(31.44, 50.97, 307.56°)
OKLaboklab(42.2% 0.0576 -0.1146)
OKLCHoklch(42.2% 0.128 296.7)
XYZxyz(9.9371, 6.8394, 24.8364)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563A8A #6E8A3A
analogous
#3A468A #563A8A #7E3A8A
triadic
#563A8A #8A563A #3A8A56
tetradic
#563A8A #8A3A46 #6E8A3A #3A8A7E
square
#563A8A #8A3A46 #6E8A3A #3A8A7E
split-complementary
#563A8A #8A7E3A #468A3A
monochromatic
#201634 #3B285F #563A8A #714DB4 #9378C6

Accessibility & contrast

On white

8.87
#563A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#563A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563A8A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563A8A#FFFFFF#000000##FFFFFF
##563A8A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#4A4B5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #563a8a;
/* rgb */ color: rgb(86, 58, 138);
/* oklch */ color: oklch(42.2% 0.128 296.7);
Tailwind
colors: {
  custom: {
    50: '#8971ad',
    500: '#563a8a',
    950: '#000000',
  },
}
SCSS
$custom: #563a8a;
$custom-light: #8971ad;
$custom-dark: #000000;
JSON
{
  "hex": "#563a8a",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 261,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.422,
    "c": 0.12827,
    "h": 296.7
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#563A8A
secondary
#99B070
accent
#D157A6
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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