#563178#563178

#563178 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.4% C 0.119 H 305.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#563178
RGBrgb(86, 49, 120)
HSLhsl(271, 42%, 33%)
HSVhsv(271, 59%, 47%)
CMYKcmyk(28.3%, 59.2%, 0%, 52.9%)
CIE-LABlab(28.20, 31.55, -34.36)
CIE-LCHlch(28.20, 46.65, 312.56°)
OKLaboklab(39.44% 0.0695 -0.0969)
OKLCHoklch(39.44% 0.119 305.7)
XYZxyz(8.3255, 5.5312, 18.3947)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563178 #537831
analogous
#323178 #563178 #783176
triadic
#563178 #785631 #317856
tetradic
#563178 #783231 #537831 #317678
square
#563178 #783231 #537831 #317678
split-complementary
#563178 #767831 #317832
monochromatic
#180E21 #371F4D #563178 #7543A3 #9464C0

Accessibility & contrast

On white

9.97
#563178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#563178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563178
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563178#FFFFFF#000000##FFFFFF
##5631781.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#244376
Tritanopia (blue-blind)
#503F4F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #563178;
/* rgb */ color: rgb(86, 49, 120);
/* oklch */ color: oklch(39.4% 0.119 305.7);
Tailwind
colors: {
  custom: {
    50: '#886b9f',
    500: '#563178',
    950: '#000000',
  },
}
SCSS
$custom: #563178;
$custom-light: #886b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#563178",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 271.268,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.11924,
    "h": 305.7
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#563178
secondary
#81A75E
accent
#D25691
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #563178

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

Preview Lab → · Contrast checker → · Palette generator →

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