#563299#563299

#563299 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.159 H 294.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#563299
RGBrgb(86, 50, 153)
HSLhsl(261, 51%, 40%)
HSVhsv(261, 67%, 60%)
CMYKcmyk(43.8%, 67.3%, 0%, 40%)
CIE-LABlab(30.78, 39.98, -50.68)
CIE-LCHlch(30.78, 64.55, 308.27°)
OKLaboklab(42.07% 0.0664 -0.1448)
OKLCHoklch(42.07% 0.159 294.6)
XYZxyz(10.7266, 6.5593, 30.8317)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563299 #759932
analogous
#324199 #563299 #8A3299
triadic
#563299 #995632 #329956
tetradic
#563299 #993241 #759932 #32998A
square
#563299 #993241 #759932 #32998A
split-complementary
#563299 #998A32 #419932
monochromatic
#22143D #3C236B #563299 #7146C2 #9574D2

Accessibility & contrast

On white

9.08
#563299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#563299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563299
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563299#FFFFFF#000000##FFFFFF
##5632991.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#444A61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #563299;
/* rgb */ color: rgb(86, 50, 153);
/* oklch */ color: oklch(42.1% 0.159 294.6);
Tailwind
colors: {
  custom: {
    50: '#8b6cb8',
    500: '#563299',
    950: '#000000',
  },
}
SCSS
$custom: #563299;
$custom-light: #8b6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#563299",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 260.971,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.15928,
    "h": 294.6
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#563299
secondary
#9FBA6D
accent
#DA4EA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #563299

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

Preview Lab → · Contrast checker → · Palette generator →

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