#563185#563185

#563185 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.136 H 300.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#563185
RGBrgb(86, 49, 133)
HSLhsl(266, 46%, 36%)
HSVhsv(266, 63%, 52%)
CMYKcmyk(35.3%, 63.2%, 0%, 47.8%)
CIE-LABlab(29.08, 35.01, -41.11)
CIE-LCHlch(29.08, 53.99, 310.42°)
OKLaboklab(40.36% 0.0694 -0.1166)
OKLCHoklch(40.36% 0.136 300.7)
XYZxyz(9.1687, 5.8685, 22.8354)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563185 #608531
analogous
#313685 #563185 #803185
triadic
#563185 #855631 #318556
tetradic
#563185 #853136 #608531 #318580
square
#563185 #853136 #608531 #318580
split-complementary
#563185 #858031 #368531
monochromatic
#1C102C #392158 #563185 #7341B2 #9369C8

Accessibility & contrast

On white

9.66
#563185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#563185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563185
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563185#FFFFFF#000000##FFFFFF
##5631851.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#144483
Tritanopia (blue-blind)
#4C4356
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #563185;
/* rgb */ color: rgb(86, 49, 133);
/* oklch */ color: oklch(40.4% 0.136 300.7);
Tailwind
colors: {
  custom: {
    50: '#896ba9',
    500: '#563185',
    950: '#000000',
  },
}
SCSS
$custom: #563185;
$custom-light: #896ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#563185",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 266.429,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40362,
    "c": 0.13573,
    "h": 300.7
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#563185
secondary
#8DAF63
accent
#D6529C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563185

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

Preview Lab → · Contrast checker → · Palette generator →

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