#563F98#563F98

#563F98 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.1% C 0.140 H 291.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#563F98
RGBrgb(86, 63, 152)
HSLhsl(256, 41%, 42%)
HSVhsv(256, 59%, 60%)
CMYKcmyk(43.4%, 58.6%, 0%, 40.4%)
CIE-LABlab(33.56, 32.09, -45.57)
CIE-LCHlch(33.56, 55.73, 305.15°)
OKLaboklab(44.07% 0.0512 -0.1298)
OKLCHoklch(44.07% 0.14 291.5)
XYZxyz(11.2812, 7.8001, 30.6109)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563F98 #81983F
analogous
#3F5498 #563F98 #833F98
triadic
#563F98 #98563F #3F9856
tetradic
#563F98 #983F54 #81983F #3F9883
square
#563F98 #983F54 #81983F #3F9883
split-complementary
#563F98 #98833F #54983F
monochromatic
#251B41 #3E2D6D #563F98 #735ABA #9785CC

Accessibility & contrast

On white

8.20
#563F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#563F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563F98
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563F98#FFFFFF#000000##FFFFFF
##563F981.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509B
Deuteranopia (green-blind)
#104D96
Tritanopia (blue-blind)
#435265
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #563f98;
/* rgb */ color: rgb(86, 63, 152);
/* oklch */ color: oklch(44.1% 0.140 291.5);
Tailwind
colors: {
  custom: {
    50: '#8a75b7',
    500: '#563f98',
    950: '#000000',
  },
}
SCSS
$custom: #563f98;
$custom-light: #8a75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#563f98",
  "rgb": {
    "r": 86,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 255.506,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.13951,
    "h": 291.5
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#563F98
secondary
#A8B77C
accent
#D157B2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #563F98

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

Preview Lab → · Contrast checker → · Palette generator →

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