#563395#563395

#563395 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.153 H 295.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#563395
RGBrgb(86, 51, 149)
HSLhsl(261, 49%, 39%)
HSVhsv(261, 66%, 58%)
CMYKcmyk(42.3%, 65.8%, 0%, 41.6%)
CIE-LABlab(30.68, 38.29, -48.40)
CIE-LCHlch(30.68, 61.72, 308.35°)
OKLaboklab(41.9% 0.0657 -0.1381)
OKLCHoklch(41.9% 0.153 295.5)
XYZxyz(10.4450, 6.5158, 29.1353)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563395 #729533
analogous
#334195 #563395 #873395
triadic
#563395 #955633 #339556
tetradic
#563395 #953341 #729533 #339587
square
#563395 #953341 #729533 #339587
split-complementary
#563395 #958733 #419533
monochromatic
#21143A #3C2367 #563395 #7146C0 #9473CF

Accessibility & contrast

On white

9.12
#563395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#563395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563395
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563395#FFFFFF#000000##FFFFFF
##5633951.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#464A5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #563395;
/* rgb */ color: rgb(86, 51, 149);
/* oklch */ color: oklch(41.9% 0.153 295.5);
Tailwind
colors: {
  custom: {
    50: '#8b6db5',
    500: '#563395',
    950: '#000000',
  },
}
SCSS
$custom: #563395;
$custom-light: #8b6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#563395",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 261.429,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41896,
    "c": 0.15294,
    "h": 295.5
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#563395
secondary
#9DB76C
accent
#D94FA8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #563395

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

Preview Lab → · Contrast checker → · Palette generator →

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