#563196#563196

#563196 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.157 H 295.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#563196
RGBrgb(86, 49, 150)
HSLhsl(262, 51%, 39%)
HSVhsv(262, 67%, 59%)
CMYKcmyk(42.7%, 67.3%, 0%, 41.2%)
CIE-LABlab(30.34, 39.69, -49.55)
CIE-LCHlch(30.34, 63.49, 308.70°)
OKLaboklab(41.68% 0.0679 -0.1415)
OKLCHoklch(41.68% 0.157 295.6)
XYZxyz(10.4396, 6.3768, 29.5291)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563196 #719631
analogous
#313F96 #563196 #893196
triadic
#563196 #965631 #319656
tetradic
#563196 #96313F #719631 #319689
square
#563196 #96313F #719631 #319689
split-complementary
#563196 #968931 #3F9631
monochromatic
#21133A #3C2268 #563196 #7143C1 #9471D1

Accessibility & contrast

On white

9.23
#563196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#563196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563196
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563196#FFFFFF#000000##FFFFFF
##5631961.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#45495F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #563196;
/* rgb */ color: rgb(86, 49, 150);
/* oklch */ color: oklch(41.7% 0.157 295.6);
Tailwind
colors: {
  custom: {
    50: '#8b6cb6',
    500: '#563196',
    950: '#000000',
  },
}
SCSS
$custom: #563196;
$custom-light: #8b6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#563196",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 261.98,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41679,
    "c": 0.15693,
    "h": 295.6
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#563196
secondary
#9CB86A
accent
#DA4EA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #563196

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

Preview Lab → · Contrast checker → · Palette generator →

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