#563198#563198

#563198 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.159 H 295.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#563198
RGBrgb(86, 49, 152)
HSLhsl(262, 51%, 39%)
HSVhsv(262, 68%, 60%)
CMYKcmyk(43.4%, 67.8%, 0%, 40.4%)
CIE-LABlab(30.50, 40.25, -50.52)
CIE-LCHlch(30.50, 64.60, 308.55°)
OKLaboklab(41.84% 0.0676 -0.1443)
OKLCHoklch(41.84% 0.159 295.1)
XYZxyz(10.6020, 6.4418, 30.3845)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563198 #739831
analogous
#314098 #563198 #8A3198
triadic
#563198 #985631 #319856
tetradic
#563198 #983140 #739831 #31988A
square
#563198 #983140 #739831 #31988A
split-complementary
#563198 #988A31 #409831
monochromatic
#22133B #3C226A #563198 #7144C3 #9472D2

Accessibility & contrast

On white

9.18
#563198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#563198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563198
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563198#FFFFFF#000000##FFFFFF
##5631981.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#444A60
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #563198;
/* rgb */ color: rgb(86, 49, 152);
/* oklch */ color: oklch(41.8% 0.159 295.1);
Tailwind
colors: {
  custom: {
    50: '#8b6cb7',
    500: '#563198',
    950: '#000000',
  },
}
SCSS
$custom: #563198;
$custom-light: #8b6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#563198",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 261.553,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.15939,
    "h": 295.1
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#563198
secondary
#9DB96B
accent
#DB4DA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #563198

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

Preview Lab → · Contrast checker → · Palette generator →

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