#563498#563498

#563498 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.155 H 294.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#563498
RGBrgb(86, 52, 152)
HSLhsl(260, 49%, 40%)
HSVhsv(260, 66%, 60%)
CMYKcmyk(43.4%, 65.8%, 0%, 40.4%)
CIE-LABlab(31.12, 38.58, -49.52)
CIE-LCHlch(31.12, 62.77, 307.92°)
OKLaboklab(42.29% 0.0643 -0.1414)
OKLCHoklch(42.29% 0.155 294.4)
XYZxyz(10.7317, 6.7011, 30.4277)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563498 #769834
analogous
#344498 #563498 #883498
triadic
#563498 #985634 #349856
tetradic
#563498 #983444 #769834 #349888
square
#563498 #983444 #769834 #349888
split-complementary
#563498 #988834 #449834
monochromatic
#22153D #3C246A #563498 #7149C1 #9576D0

Accessibility & contrast

On white

8.97
#563498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#563498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563498
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563498#FFFFFF#000000##FFFFFF
##5634981.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#444B61
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #563498;
/* rgb */ color: rgb(86, 52, 152);
/* oklch */ color: oklch(42.3% 0.155 294.4);
Tailwind
colors: {
  custom: {
    50: '#8b6db7',
    500: '#563498',
    950: '#000000',
  },
}
SCSS
$custom: #563498;
$custom-light: #8b6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#563498",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 260.4,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.15533,
    "h": 294.4
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#563498
secondary
#A0B96F
accent
#D94FAA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #563498

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

Preview Lab → · Contrast checker → · Palette generator →

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