#563C8B#563C8B

#563C8B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.6% C 0.126 H 295.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#563C8B
RGBrgb(86, 60, 139)
HSLhsl(260, 40%, 39%)
HSVhsv(260, 57%, 55%)
CMYKcmyk(38.1%, 56.8%, 0%, 45.5%)
CIE-LABlab(31.97, 30.14, -40.17)
CIE-LCHlch(31.97, 50.22, 306.88°)
OKLaboklab(42.62% 0.0549 -0.1139)
OKLCHoklch(42.62% 0.126 295.7)
XYZxyz(10.1126, 7.0740, 25.2537)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563C8B #718B3C
analogous
#3C4A8B #563C8B #7E3C8B
triadic
#563C8B #8B563C #3C8B56
tetradic
#563C8B #8B3C4A #718B3C #3C8B7E
square
#563C8B #8B3C4A #718B3C #3C8B7E
split-complementary
#563C8B #8B7E3C #4A8B3C
monochromatic
#211736 #3C2A60 #563C8B #7151B4 #947BC6

Accessibility & contrast

On white

8.70
#563C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#563C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563C8B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563C8B#FFFFFF#000000##FFFFFF
##563C8B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8E
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#494C5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #563c8b;
/* rgb */ color: rgb(86, 60, 139);
/* oklch */ color: oklch(42.6% 0.126 295.7);
Tailwind
colors: {
  custom: {
    50: '#8972ad',
    500: '#563c8b',
    950: '#000000',
  },
}
SCSS
$custom: #563c8b;
$custom-light: #8972ad;
$custom-dark: #000000;
JSON
{
  "hex": "#563c8b",
  "rgb": {
    "r": 86,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 259.747,
    "s": 39.698,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.12645,
    "h": 295.7
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#563C8B
secondary
#9CB073
accent
#D058A8
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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