#563399#563399

#563399 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.158 H 294.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#563399
RGBrgb(86, 51, 153)
HSLhsl(261, 50%, 40%)
HSVhsv(261, 67%, 60%)
CMYKcmyk(43.8%, 66.7%, 0%, 40%)
CIE-LABlab(30.99, 39.42, -50.34)
CIE-LCHlch(30.99, 63.94, 308.06°)
OKLaboklab(42.22% 0.0653 -0.1438)
OKLCHoklch(42.22% 0.158 294.4)
XYZxyz(10.7698, 6.6457, 30.8461)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563399 #769933
analogous
#334399 #563399 #893399
triadic
#563399 #995633 #339956
tetradic
#563399 #993343 #769933 #339989
square
#563399 #993343 #769933 #339989
split-complementary
#563399 #998933 #439933
monochromatic
#22143D #3C246B #563399 #7147C2 #9575D1

Accessibility & contrast

On white

9.02
#563399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#563399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563399
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563399#FFFFFF#000000##FFFFFF
##5633991.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #563399;
/* rgb */ color: rgb(86, 51, 153);
/* oklch */ color: oklch(42.2% 0.158 294.4);
Tailwind
colors: {
  custom: {
    50: '#8b6db8',
    500: '#563399',
    950: '#000000',
  },
}
SCSS
$custom: #563399;
$custom-light: #8b6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#563399",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 260.588,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.15794,
    "h": 294.4
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#563399
secondary
#A0B96E
accent
#DA4EAA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #563399

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

Preview Lab → · Contrast checker → · Palette generator →

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