#563F97#563F97

#563F97 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.0% C 0.138 H 291.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#563F97
RGBrgb(86, 63, 151)
HSLhsl(256, 41%, 42%)
HSVhsv(256, 58%, 59%)
CMYKcmyk(43%, 58.3%, 0%, 40.8%)
CIE-LABlab(33.49, 31.79, -45.07)
CIE-LCHlch(33.49, 55.15, 305.20°)
OKLaboklab(44% 0.0512 -0.1283)
OKLCHoklch(44% 0.138 291.8)
XYZxyz(11.1996, 7.7675, 30.1813)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563F97 #80973F
analogous
#3F5497 #563F97 #823F97
triadic
#563F97 #97563F #3F9756
tetradic
#563F97 #973F54 #80973F #3F9782
square
#563F97 #973F54 #80973F #3F9782
split-complementary
#563F97 #97823F #54973F
monochromatic
#251B41 #3D2D6C #563F97 #7359BA #9785CC

Accessibility & contrast

On white

8.22
#563F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#563F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563F97
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563F97#FFFFFF#000000##FFFFFF
##563F971.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A509A
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#445265
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #563f97;
/* rgb */ color: rgb(86, 63, 151);
/* oklch */ color: oklch(44.0% 0.138 291.8);
Tailwind
colors: {
  custom: {
    50: '#8a75b6',
    500: '#563f97',
    950: '#000000',
  },
}
SCSS
$custom: #563f97;
$custom-light: #8a75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#563f97",
  "rgb": {
    "r": 86,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 255.682,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43996,
    "c": 0.13815,
    "h": 291.8
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#563F97
secondary
#A7B67C
accent
#D157B1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #563F97

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

Preview Lab → · Contrast checker → · Palette generator →

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