#563186#563186

#563186 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.137 H 300.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#563186
RGBrgb(86, 49, 134)
HSLhsl(266, 46%, 36%)
HSVhsv(266, 63%, 53%)
CMYKcmyk(35.8%, 63.4%, 0%, 47.5%)
CIE-LABlab(29.15, 35.28, -41.61)
CIE-LCHlch(29.15, 54.56, 310.29°)
OKLaboklab(40.44% 0.0693 -0.1181)
OKLCHoklch(40.44% 0.137 300.4)
XYZxyz(9.2381, 5.8962, 23.2010)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563186 #618631
analogous
#313686 #563186 #803186
triadic
#563186 #865631 #318656
tetradic
#563186 #863136 #618631 #318680
square
#563186 #863136 #618631 #318680
split-complementary
#563186 #868031 #368631
monochromatic
#1C102C #392159 #563186 #7341B3 #9369C8

Accessibility & contrast

On white

9.64
#563186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#563186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563186
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563186#FFFFFF#000000##FFFFFF
##5631861.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#124484
Tritanopia (blue-blind)
#4C4356
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #563186;
/* rgb */ color: rgb(86, 49, 134);
/* oklch */ color: oklch(40.4% 0.137 300.4);
Tailwind
colors: {
  custom: {
    50: '#896baa',
    500: '#563186',
    950: '#000000',
  },
}
SCSS
$custom: #563186;
$custom-light: #896baa;
$custom-dark: #000000;
JSON
{
  "hex": "#563186",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 266.118,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.13699,
    "h": 300.4
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#563186
secondary
#8EB063
accent
#D6529C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563186

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

Preview Lab → · Contrast checker → · Palette generator →

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