#563397#563397

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

Color values

HEX#563397
RGBrgb(86, 51, 151)
HSLhsl(261, 50%, 40%)
HSVhsv(261, 66%, 59%)
CMYKcmyk(43%, 66.2%, 0%, 40.8%)
CIE-LABlab(30.83, 38.86, -49.37)
CIE-LCHlch(30.83, 62.83, 308.20°)
OKLaboklab(42.06% 0.0655 -0.141)
OKLCHoklch(42.06% 0.155 294.9)
XYZxyz(10.6060, 6.5802, 29.9835)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563397 #749733
analogous
#334297 #563397 #883397
triadic
#563397 #975633 #339756
tetradic
#563397 #973342 #749733 #339788
square
#563397 #973342 #749733 #339788
split-complementary
#563397 #978833 #429733
monochromatic
#22143C #3C2469 #563397 #7147C1 #9474D0

Accessibility & contrast

On white

9.07
#563397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#563397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563397
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563397#FFFFFF#000000##FFFFFF
##5633971.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#454A60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #563397;
/* rgb */ color: rgb(86, 51, 151);
/* oklch */ color: oklch(42.1% 0.155 294.9);
Tailwind
colors: {
  custom: {
    50: '#8b6db6',
    500: '#563397',
    950: '#000000',
  },
}
SCSS
$custom: #563397;
$custom-light: #8b6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#563397",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 261,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42055,
    "c": 0.15545,
    "h": 294.9
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#563397
secondary
#9EB86D
accent
#D94FA9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #563397

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

Preview Lab → · Contrast checker → · Palette generator →

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