#563E9B#563E9B

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

Color values

HEX#563E9B
RGBrgb(86, 62, 155)
HSLhsl(255, 43%, 43%)
HSVhsv(255, 60%, 61%)
CMYKcmyk(44.5%, 60%, 0%, 39.2%)
CIE-LABlab(33.54, 33.58, -47.42)
CIE-LCHlch(33.54, 58.11, 305.30°)
OKLaboklab(44.12% 0.0524 -0.1352)
OKLCHoklch(44.12% 0.145 291.2)
XYZxyz(11.4751, 7.7899, 31.9030)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563E9B #839B3E
analogous
#3E549B #563E9B #853E9B
triadic
#563E9B #9B563E #3E9B56
tetradic
#563E9B #9B3E54 #839B3E #3E9B85
square
#563E9B #9B3E54 #839B3E #3E9B85
split-complementary
#563E9B #9B853E #549B3E
monochromatic
#251B44 #3E2D6F #563E9B #7359BD #9885CE

Accessibility & contrast

On white

8.21
#563E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #563E9B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563E9B#FFFFFF#000000##FFFFFF
##563E9B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#034D99
Tritanopia (blue-blind)
#425366
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #563e9b;
/* rgb */ color: rgb(86, 62, 155);
/* oklch */ color: oklch(44.1% 0.145 291.2);
Tailwind
colors: {
  custom: {
    50: '#8b74b9',
    500: '#563e9b',
    950: '#000000',
  },
}
SCSS
$custom: #563e9b;
$custom-light: #8b74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#563e9b",
  "rgb": {
    "r": 86,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 255.484,
    "s": 42.857,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44121,
    "c": 0.14502,
    "h": 291.2
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#563E9B
secondary
#A9B97C
accent
#D355B2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #563E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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