#563387#563387

#563387 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.135 H 299.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#563387
RGBrgb(86, 51, 135)
HSLhsl(265, 45%, 36%)
HSVhsv(265, 62%, 53%)
CMYKcmyk(36.3%, 62.2%, 0%, 47.1%)
CIE-LABlab(29.65, 34.40, -41.43)
CIE-LCHlch(29.65, 53.85, 309.70°)
OKLaboklab(40.83% 0.0667 -0.1176)
OKLCHoklch(40.83% 0.135 299.6)
XYZxyz(9.3937, 6.0953, 23.5986)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563387 #648733
analogous
#333A87 #563387 #803387
triadic
#563387 #875633 #338756
tetradic
#563387 #87333A #648733 #338780
square
#563387 #87333A #648733 #338780
split-complementary
#563387 #878033 #3A8733
monochromatic
#1D112E #3A225B #563387 #7244B3 #936DC8

Accessibility & contrast

On white

9.46
#563387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#563387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563387
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563387#FFFFFF#000000##FFFFFF
##5633871.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#154585
Tritanopia (blue-blind)
#4B4558
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #563387;
/* rgb */ color: rgb(86, 51, 135);
/* oklch */ color: oklch(40.8% 0.135 299.6);
Tailwind
colors: {
  custom: {
    50: '#896caa',
    500: '#563387',
    950: '#000000',
  },
}
SCSS
$custom: #563387;
$custom-light: #896caa;
$custom-dark: #000000;
JSON
{
  "hex": "#563387",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 265,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40825,
    "c": 0.13522,
    "h": 299.6
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#563387
secondary
#91B066
accent
#D5539F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563387

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

Preview Lab → · Contrast checker → · Palette generator →

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