#563F8D#563F8D

#563F8D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.3% C 0.124 H 294.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#563F8D
RGBrgb(86, 63, 141)
HSLhsl(258, 38%, 40%)
HSVhsv(258, 55%, 55%)
CMYKcmyk(39%, 55.3%, 0%, 44.7%)
CIE-LABlab(32.82, 28.87, -40.03)
CIE-LCHlch(32.82, 49.36, 305.79°)
OKLaboklab(43.29% 0.051 -0.1135)
OKLCHoklch(43.29% 0.124 294.2)
XYZxyz(10.4217, 7.4563, 26.0843)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563F8D #768D3F
analogous
#3F4F8D #563F8D #7D3F8D
triadic
#563F8D #8D563F #3F8D56
tetradic
#563F8D #8D3F4F #768D3F #3F8D7D
square
#563F8D #8D3F4F #768D3F #3F8D7D
split-complementary
#563F8D #8D7D3F #4F8D3F
monochromatic
#221938 #3C2C63 #563F8D #7156B3 #9580C6

Accessibility & contrast

On white

8.43
#563F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#563F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563F8D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563F8D#FFFFFF#000000##FFFFFF
##563F8D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#484F60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #563f8d;
/* rgb */ color: rgb(86, 63, 141);
/* oklch */ color: oklch(43.3% 0.124 294.2);
Tailwind
colors: {
  custom: {
    50: '#8975af',
    500: '#563f8d',
    950: '#000000',
  },
}
SCSS
$custom: #563f8d;
$custom-light: #8975af;
$custom-dark: #000000;
JSON
{
  "hex": "#563f8d",
  "rgb": {
    "r": 86,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 257.692,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.43287,
    "c": 0.12445,
    "h": 294.2
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#563F8D
secondary
#A0B177
accent
#CE5AAC
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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