#563188#563188

#563188 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.140 H 299.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#563188
RGBrgb(86, 49, 136)
HSLhsl(266, 47%, 36%)
HSVhsv(266, 64%, 53%)
CMYKcmyk(36.8%, 64%, 0%, 46.7%)
CIE-LABlab(29.29, 35.83, -42.63)
CIE-LCHlch(29.29, 55.68, 310.05°)
OKLaboklab(40.59% 0.0692 -0.1211)
OKLCHoklch(40.59% 0.14 299.8)
XYZxyz(9.3789, 5.9525, 23.9426)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563188 #638831
analogous
#313888 #563188 #823188
triadic
#563188 #885631 #318856
tetradic
#563188 #883138 #638831 #318882
square
#563188 #883138 #638831 #318882
split-complementary
#563188 #888231 #388831
monochromatic
#1D112E #3A215B #563188 #7241B5 #936AC9

Accessibility & contrast

On white

9.59
#563188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#563188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563188
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563188#FFFFFF#000000##FFFFFF
##5631881.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#0E4486
Tritanopia (blue-blind)
#4B4458
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #563188;
/* rgb */ color: rgb(86, 49, 136);
/* oklch */ color: oklch(40.6% 0.140 299.8);
Tailwind
colors: {
  custom: {
    50: '#896bab',
    500: '#563188',
    950: '#000000',
  },
}
SCSS
$custom: #563188;
$custom-light: #896bab;
$custom-dark: #000000;
JSON
{
  "hex": "#563188",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 265.517,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.13951,
    "h": 299.8
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#563188
secondary
#90B164
accent
#D7519E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563188

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

Preview Lab → · Contrast checker → · Palette generator →

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