#563278#563278

#563278 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.6% C 0.118 H 305.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#563278
RGBrgb(86, 50, 120)
HSLhsl(271, 41%, 33%)
HSVhsv(271, 58%, 47%)
CMYKcmyk(28.3%, 58.3%, 0%, 52.9%)
CIE-LABlab(28.42, 30.96, -34.00)
CIE-LCHlch(28.42, 45.98, 312.32°)
OKLaboklab(39.6% 0.0681 -0.0958)
OKLCHoklch(39.6% 0.118 305.4)
XYZxyz(8.3678, 5.6158, 18.4088)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563278 #547832
analogous
#333278 #563278 #783277
triadic
#563278 #785632 #327856
tetradic
#563278 #783332 #547832 #327778
square
#563278 #783332 #547832 #327778
split-complementary
#563278 #777832 #327833
monochromatic
#180E22 #37204D #563278 #7544A3 #9365BF

Accessibility & contrast

On white

9.89
#563278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#563278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563278
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563278#FFFFFF#000000##FFFFFF
##5632781.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427A
Deuteranopia (green-blind)
#254376
Tritanopia (blue-blind)
#503F50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #563278;
/* rgb */ color: rgb(86, 50, 120);
/* oklch */ color: oklch(39.6% 0.118 305.4);
Tailwind
colors: {
  custom: {
    50: '#886b9f',
    500: '#563278',
    950: '#000000',
  },
}
SCSS
$custom: #563278;
$custom-light: #886b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#563278",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 270.857,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39602,
    "c": 0.11756,
    "h": 305.4
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#563278
secondary
#82A75F
accent
#D15792
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #563278

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

Preview Lab → · Contrast checker → · Palette generator →

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