#563180#563180

#563180 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.129 H 302.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#563180
RGBrgb(86, 49, 128)
HSLhsl(268, 45%, 35%)
HSVhsv(268, 62%, 50%)
CMYKcmyk(32.8%, 61.7%, 0%, 49.8%)
CIE-LABlab(28.73, 33.66, -38.54)
CIE-LCHlch(28.73, 51.17, 311.13°)
OKLaboklab(40% 0.0696 -0.1091)
OKLCHoklch(40% 0.129 302.5)
XYZxyz(8.8314, 5.7336, 21.0593)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563180 #5B8031
analogous
#313480 #563180 #7E3180
triadic
#563180 #805631 #318056
tetradic
#563180 #803134 #5B8031 #31807E
square
#563180 #803134 #5B8031 #31807E
split-complementary
#563180 #807E31 #348031
monochromatic
#1B0F27 #382054 #563180 #7442AC #9367C5

Accessibility & contrast

On white

9.78
#563180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#563180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563180
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563180#FFFFFF#000000##FFFFFF
##5631801.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084383
Deuteranopia (green-blind)
#1C437E
Tritanopia (blue-blind)
#4E4153
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #563180;
/* rgb */ color: rgb(86, 49, 128);
/* oklch */ color: oklch(40.0% 0.129 302.5);
Tailwind
colors: {
  custom: {
    50: '#896ba5',
    500: '#563180',
    950: '#000000',
  },
}
SCSS
$custom: #563180;
$custom-light: #896ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#563180",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 268.101,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39998,
    "c": 0.12941,
    "h": 302.5
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#563180
secondary
#89AC61
accent
#D45398
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #563180

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

Preview Lab → · Contrast checker → · Palette generator →

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