#563C82#563C82

#563C82 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 42.0% C 0.114 H 298.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#563C82
RGBrgb(86, 60, 130)
HSLhsl(262, 37%, 37%)
HSVhsv(262, 54%, 51%)
CMYKcmyk(33.8%, 53.8%, 0%, 49%)
CIE-LABlab(31.40, 27.59, -35.52)
CIE-LCHlch(31.40, 44.98, 307.84°)
OKLaboklab(42% 0.0545 -0.1003)
OKLCHoklch(42% 0.114 298.5)
XYZxyz(9.4819, 6.8218, 21.9319)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563C82 #68823C
analogous
#3C4582 #563C82 #793C82
triadic
#563C82 #82563C #3C8256
tetradic
#563C82 #823C45 #68823C #3C8279
square
#563C82 #823C45 #68823C #3C8279
split-complementary
#563C82 #82793C #45823C
monochromatic
#1F152E #3A2958 #563C82 #724FAC #9378C1

Accessibility & contrast

On white

8.88
#563C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#563C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563C82
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563C82#FFFFFF#000000##FFFFFF
##563C821.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#4D4A59
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #563c82;
/* rgb */ color: rgb(86, 60, 130);
/* oklch */ color: oklch(42.0% 0.114 298.5);
Tailwind
colors: {
  custom: {
    50: '#8872a7',
    500: '#563c82',
    950: '#000000',
  },
}
SCSS
$custom: #563c82;
$custom-light: #8872a7;
$custom-dark: #000000;
JSON
{
  "hex": "#563c82",
  "rgb": {
    "r": 86,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 262.286,
    "s": 36.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42003,
    "c": 0.11411,
    "h": 298.5
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#563C82
secondary
#94AA6F
accent
#CD5BA3
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #563C82

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

Preview Lab → · Contrast checker → · Palette generator →

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