#563A87#563A87

#563A87 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.0% C 0.124 H 297.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#563A87
RGBrgb(86, 58, 135)
HSLhsl(262, 40%, 38%)
HSVhsv(262, 57%, 53%)
CMYKcmyk(36.3%, 57%, 0%, 47.1%)
CIE-LABlab(31.24, 30.22, -38.87)
CIE-LCHlch(31.24, 49.24, 307.86°)
OKLaboklab(41.99% 0.0575 -0.1101)
OKLCHoklch(41.99% 0.124 297.6)
XYZxyz(9.7229, 6.7537, 23.7083)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563A87 #6B873A
analogous
#3A4587 #563A87 #7C3A87
triadic
#563A87 #87563A #3A8756
tetradic
#563A87 #873A45 #6B873A #3A877C
square
#563A87 #873A45 #6B873A #3A877C
split-complementary
#563A87 #877C3A #45873A
monochromatic
#1F1531 #3B285C #563A87 #714CB2 #9377C5

Accessibility & contrast

On white

8.93
#563A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#563A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563A87
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563A87#FFFFFF#000000##FFFFFF
##563A871.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#214985
Tritanopia (blue-blind)
#4B4A5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #563a87;
/* rgb */ color: rgb(86, 58, 135);
/* oklch */ color: oklch(42.0% 0.124 297.6);
Tailwind
colors: {
  custom: {
    50: '#8971aa',
    500: '#563a87',
    950: '#000000',
  },
}
SCSS
$custom: #563a87;
$custom-light: #8971aa;
$custom-dark: #000000;
JSON
{
  "hex": "#563a87",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 261.818,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41989,
    "c": 0.12422,
    "h": 297.6
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#563A87
secondary
#97AE6F
accent
#D058A4
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563A87

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

Preview Lab → · Contrast checker → · Palette generator →

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