#563F9F#563F9F

#563F9F is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.6% C 0.149 H 290.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#563F9F
RGBrgb(86, 63, 159)
HSLhsl(254, 43%, 44%)
HSVhsv(254, 60%, 62%)
CMYKcmyk(45.9%, 60.4%, 0%, 37.6%)
CIE-LABlab(34.06, 34.17, -49.01)
CIE-LCHlch(34.06, 59.74, 304.88°)
OKLaboklab(44.59% 0.0511 -0.1399)
OKLCHoklch(44.59% 0.149 290.1)
XYZxyz(11.8715, 8.0362, 33.7198)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563F9F #889F3F
analogous
#3F589F #563F9F #863F9F
triadic
#563F9F #9F563F #3F9F56
tetradic
#563F9F #9F3F58 #889F3F #3F9F86
square
#563F9F #9F3F58 #889F3F #3F9F86
split-complementary
#563F9F #9F863F #589F3F
monochromatic
#271C47 #3E2E73 #563F9F #745DBF #9A88D0

Accessibility & contrast

On white

8.05
#563F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#563F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563F9F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563F9F#FFFFFF#000000##FFFFFF
##563F9F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#405569
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #563f9f;
/* rgb */ color: rgb(86, 63, 159);
/* oklch */ color: oklch(44.6% 0.149 290.1);
Tailwind
colors: {
  custom: {
    50: '#8b75bc',
    500: '#563f9f',
    950: '#000000',
  },
}
SCSS
$custom: #563f9f;
$custom-light: #8b75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#563f9f",
  "rgb": {
    "r": 86,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 254.375,
    "s": 43.243,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.14892,
    "h": 290.1
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#563F9F
secondary
#ACBB7F
accent
#D355B5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #563F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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