#563E98#563E98

#563E98 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.9% C 0.141 H 291.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#563E98
RGBrgb(86, 62, 152)
HSLhsl(256, 42%, 42%)
HSVhsv(256, 59%, 60%)
CMYKcmyk(43.4%, 59.2%, 0%, 40.4%)
CIE-LABlab(33.33, 32.70, -45.94)
CIE-LCHlch(33.33, 56.39, 305.44°)
OKLaboklab(43.9% 0.0524 -0.1309)
OKLCHoklch(43.9% 0.141 291.8)
XYZxyz(11.2263, 7.6903, 30.5926)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563E98 #80983E
analogous
#3E5398 #563E98 #833E98
triadic
#563E98 #98563E #3E9856
tetradic
#563E98 #983E53 #80983E #3E9883
square
#563E98 #983E53 #80983E #3E9883
split-complementary
#563E98 #98833E #53983E
monochromatic
#251B41 #3D2C6D #563E98 #7358BB #9784CD

Accessibility & contrast

On white

8.27
#563E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#563E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563E98
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563E98#FFFFFF#000000##FFFFFF
##563E981.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#0D4D96
Tritanopia (blue-blind)
#445265
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #563e98;
/* rgb */ color: rgb(86, 62, 152);
/* oklch */ color: oklch(43.9% 0.141 291.8);
Tailwind
colors: {
  custom: {
    50: '#8a74b7',
    500: '#563e98',
    950: '#000000',
  },
}
SCSS
$custom: #563e98;
$custom-light: #8a74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#563e98",
  "rgb": {
    "r": 86,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 256,
    "s": 42.056,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43897,
    "c": 0.14099,
    "h": 291.8
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#563E98
secondary
#A7B77B
accent
#D256B1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #563E98

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

Preview Lab → · Contrast checker → · Palette generator →

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