#563A95#563A95

#563A95 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.0% C 0.143 H 293.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#563A95
RGBrgb(86, 58, 149)
HSLhsl(258, 44%, 41%)
HSVhsv(258, 61%, 58%)
CMYKcmyk(42.3%, 61.1%, 0%, 41.6%)
CIE-LABlab(32.20, 34.22, -45.94)
CIE-LCHlch(32.20, 57.28, 306.69°)
OKLaboklab(43% 0.0574 -0.1309)
OKLCHoklch(43% 0.143 293.7)
XYZxyz(10.7742, 7.1742, 29.2450)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563A95 #79953A
analogous
#3A4B95 #563A95 #833A95
triadic
#563A95 #95563A #3A9556
tetradic
#563A95 #953A4B #79953A #3A9583
square
#563A95 #953A4B #79953A #3A9583
split-complementary
#563A95 #95833A #4B953A
monochromatic
#23183D #3D2969 #563A95 #7251BB #957DCC

Accessibility & contrast

On white

8.62
#563A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#563A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563A95
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563A95#FFFFFF#000000##FFFFFF
##563A951.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#074A93
Tritanopia (blue-blind)
#454E62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #563a95;
/* rgb */ color: rgb(86, 58, 149);
/* oklch */ color: oklch(43.0% 0.143 293.7);
Tailwind
colors: {
  custom: {
    50: '#8a71b5',
    500: '#563a95',
    950: '#000000',
  },
}
SCSS
$custom: #563a95;
$custom-light: #8a71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#563a95",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 258.462,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.14291,
    "h": 293.7
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#563A95
secondary
#A2B675
accent
#D454AC
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #563A95

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

Preview Lab → · Contrast checker → · Palette generator →

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