#563187#563187

#563187 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.138 H 300.1°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#563187
RGBrgb(86, 49, 135)
HSLhsl(266, 47%, 36%)
HSVhsv(266, 64%, 53%)
CMYKcmyk(36.3%, 63.7%, 0%, 47.1%)
CIE-LABlab(29.22, 35.55, -42.12)
CIE-LCHlch(29.22, 55.12, 310.17°)
OKLaboklab(40.51% 0.0693 -0.1196)
OKLCHoklch(40.51% 0.138 300.1)
XYZxyz(9.3082, 5.9243, 23.5701)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563187 #628731
analogous
#313787 #563187 #813187
triadic
#563187 #875631 #318756
tetradic
#563187 #873137 #628731 #318781
square
#563187 #873137 #628731 #318781
split-complementary
#563187 #878131 #378731
monochromatic
#1D102D #39215A #563187 #7341B4 #936AC9

Accessibility & contrast

On white

9.61
#563187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#563187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563187
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563187#FFFFFF#000000##FFFFFF
##5631871.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#104485
Tritanopia (blue-blind)
#4B4457
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #563187;
/* rgb */ color: rgb(86, 49, 135);
/* oklch */ color: oklch(40.5% 0.138 300.1);
Tailwind
colors: {
  custom: {
    50: '#896bab',
    500: '#563187',
    950: '#000000',
  },
}
SCSS
$custom: #563187;
$custom-light: #896bab;
$custom-dark: #000000;
JSON
{
  "hex": "#563187",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 265.814,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40511,
    "c": 0.13826,
    "h": 300.1
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#563187
secondary
#8FB064
accent
#D6519D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563187

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

Preview Lab → · Contrast checker → · Palette generator →

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