#563A8F#563A8F

#563A8F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.6% C 0.135 H 295.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#563A8F
RGBrgb(86, 58, 143)
HSLhsl(260, 42%, 39%)
HSVhsv(260, 59%, 56%)
CMYKcmyk(39.9%, 59.4%, 0%, 43.9%)
CIE-LABlab(31.78, 32.50, -42.94)
CIE-LCHlch(31.78, 53.85, 307.12°)
OKLaboklab(42.56% 0.0576 -0.1221)
OKLCHoklch(42.56% 0.135 295.3)
XYZxyz(10.3074, 6.9875, 26.7869)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563A8F #738F3A
analogous
#3A488F #563A8F #813A8F
triadic
#563A8F #8F563A #3A8F56
tetradic
#563A8F #8F3A48 #738F3A #3A8F81
square
#563A8F #8F3A48 #738F3A #3A8F81
split-complementary
#563A8F #8F813A #488F3A
monochromatic
#221738 #3C2863 #563A8F #714FB7 #947AC9

Accessibility & contrast

On white

8.76
#563A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#563A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563A8F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563A8F#FFFFFF#000000##FFFFFF
##563A8F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B92
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#484C5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #563a8f;
/* rgb */ color: rgb(86, 58, 143);
/* oklch */ color: oklch(42.6% 0.135 295.3);
Tailwind
colors: {
  custom: {
    50: '#8a71b0',
    500: '#563a8f',
    950: '#000000',
  },
}
SCSS
$custom: #563a8f;
$custom-light: #8a71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#563a8f",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 259.765,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.13496,
    "h": 295.3
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#563A8F
secondary
#9DB372
accent
#D256A9
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #563A8F

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

Preview Lab → · Contrast checker → · Palette generator →

#563A8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva