#563786#563786

#563786 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.128 H 298.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#563786
RGBrgb(86, 55, 134)
HSLhsl(264, 42%, 37%)
HSVhsv(264, 59%, 53%)
CMYKcmyk(35.8%, 59%, 0%, 47.5%)
CIE-LABlab(30.48, 31.76, -39.48)
CIE-LCHlch(30.48, 50.67, 308.82°)
OKLaboklab(41.41% 0.0615 -0.1119)
OKLCHoklch(41.41% 0.128 298.8)
XYZxyz(9.5060, 6.4319, 23.2903)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563786 #678637
analogous
#374086 #563786 #7E3786
triadic
#563786 #865637 #378656
tetradic
#563786 #863740 #678637 #37867E
square
#563786 #863740 #678637 #37867E
split-complementary
#563786 #867E37 #408637
monochromatic
#1E132F #3A255B #563786 #7249B1 #9372C5

Accessibility & contrast

On white

9.18
#563786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#563786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563786
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563786#FFFFFF#000000##FFFFFF
##5637861.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#1E4784
Tritanopia (blue-blind)
#4B4759
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #563786;
/* rgb */ color: rgb(86, 55, 134);
/* oklch */ color: oklch(41.4% 0.128 298.8);
Tailwind
colors: {
  custom: {
    50: '#896faa',
    500: '#563786',
    950: '#000000',
  },
}
SCSS
$custom: #563786;
$custom-light: #896faa;
$custom-dark: #000000;
JSON
{
  "hex": "#563786",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 263.544,
    "s": 41.799,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41407,
    "c": 0.12768,
    "h": 298.8
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#563786
secondary
#94AE6B
accent
#D256A1
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563786

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

Preview Lab → · Contrast checker → · Palette generator →

#563786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva