#563897#563897

#563897 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.148 H 293.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#563897
RGBrgb(86, 56, 151)
HSLhsl(259, 46%, 41%)
HSVhsv(259, 63%, 59%)
CMYKcmyk(43%, 62.9%, 0%, 40.8%)
CIE-LABlab(31.90, 35.98, -47.64)
CIE-LCHlch(31.90, 59.70, 307.06°)
OKLaboklab(42.83% 0.0597 -0.1359)
OKLCHoklch(42.83% 0.148 293.7)
XYZxyz(10.8363, 7.0409, 30.0602)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563897 #799738
analogous
#384997 #563897 #853897
triadic
#563897 #975638 #389756
tetradic
#563897 #973849 #799738 #389785
square
#563897 #973849 #799738 #389785
split-complementary
#563897 #978538 #499738
monochromatic
#23173E #3D276A #563897 #724FBE #957BCE

Accessibility & contrast

On white

8.72
#563897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#563897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563897
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563897#FFFFFF#000000##FFFFFF
##5638971.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#444D62
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #563897;
/* rgb */ color: rgb(86, 56, 151);
/* oklch */ color: oklch(42.8% 0.148 293.7);
Tailwind
colors: {
  custom: {
    50: '#8b70b6',
    500: '#563897',
    950: '#000000',
  },
}
SCSS
$custom: #563897;
$custom-light: #8b70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#563897",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 258.947,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.14842,
    "h": 293.7
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#563897
secondary
#A2B773
accent
#D652AC
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #563897

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

Preview Lab → · Contrast checker → · Palette generator →

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