#563286#563286

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

Color values

HEX#563286
RGBrgb(86, 50, 134)
HSLhsl(266, 46%, 36%)
HSVhsv(266, 63%, 53%)
CMYKcmyk(35.8%, 62.7%, 0%, 47.5%)
CIE-LABlab(29.36, 34.70, -41.27)
CIE-LCHlch(29.36, 53.92, 310.06°)
OKLaboklab(40.59% 0.0681 -0.1171)
OKLCHoklch(40.59% 0.135 300.2)
XYZxyz(9.2804, 5.9808, 23.2151)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563286 #628632
analogous
#323886 #563286 #803286
triadic
#563286 #865632 #328656
tetradic
#563286 #863238 #628632 #328680
square
#563286 #863238 #628632 #328680
split-complementary
#563286 #868032 #388632
monochromatic
#1D112D #392159 #563286 #7343B3 #936BC8

Accessibility & contrast

On white

9.56
#563286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#563286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563286
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563286#FFFFFF#000000##FFFFFF
##5632861.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#154584
Tritanopia (blue-blind)
#4C4457
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #563286;
/* rgb */ color: rgb(86, 50, 134);
/* oklch */ color: oklch(40.6% 0.135 300.2);
Tailwind
colors: {
  custom: {
    50: '#896caa',
    500: '#563286',
    950: '#000000',
  },
}
SCSS
$custom: #563286;
$custom-light: #896caa;
$custom-dark: #000000;
JSON
{
  "hex": "#563286",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 265.714,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.13547,
    "h": 300.2
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#563286
secondary
#8FAF64
accent
#D5529D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563286

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

Preview Lab → · Contrast checker → · Palette generator →

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