#563391#563391

#563391 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.148 H 296.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#563391
RGBrgb(86, 51, 145)
HSLhsl(262, 48%, 38%)
HSVhsv(262, 65%, 57%)
CMYKcmyk(40.7%, 64.8%, 0%, 43.1%)
CIE-LABlab(30.38, 37.17, -46.44)
CIE-LCHlch(30.38, 59.48, 308.68°)
OKLaboklab(41.58% 0.0661 -0.1323)
OKLCHoklch(41.58% 0.148 296.5)
XYZxyz(10.1311, 6.3902, 27.4822)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563391 #6E9133
analogous
#333F91 #563391 #853391
triadic
#563391 #915633 #339156
tetradic
#563391 #91333F #6E9133 #339185
square
#563391 #91333F #6E9133 #339185
split-complementary
#563391 #918533 #3F9133
monochromatic
#201336 #3B2364 #563391 #7144BD #9371CD

Accessibility & contrast

On white

9.22
#563391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#563391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563391
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563391#FFFFFF#000000##FFFFFF
##5633911.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#47485D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #563391;
/* rgb */ color: rgb(86, 51, 145);
/* oklch */ color: oklch(41.6% 0.148 296.5);
Tailwind
colors: {
  custom: {
    50: '#8a6db2',
    500: '#563391',
    950: '#000000',
  },
}
SCSS
$custom: #563391;
$custom-light: #8a6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#563391",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 262.34,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.14792,
    "h": 296.5
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#563391
secondary
#99B56B
accent
#D850A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #563391

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

Preview Lab → · Contrast checker → · Palette generator →

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