#563166#563166

#563166 is a dark, moderate purple. Relative luminance 0.051; OKLCH L 38.3% C 0.096 H 314.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#563166
RGBrgb(86, 49, 102)
HSLhsl(282, 35%, 30%)
HSVhsv(282, 52%, 40%)
CMYKcmyk(15.7%, 52%, 0%, 60%)
CIE-LABlab(27.11, 27.03, -24.58)
CIE-LCHlch(27.11, 36.53, 317.71°)
OKLaboklab(38.29% 0.068 -0.0683)
OKLCHoklch(38.29% 0.096 314.9)
XYZxyz(7.3340, 5.1346, 13.1725)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563166 #416631
analogous
#3C3166 #563166 #66315C
triadic
#563166 #665631 #316656
tetradic
#563166 #663C31 #416631 #315C66
square
#563166 #663C31 #416631 #315C66
split-complementary
#563166 #5C6631 #31663C
monochromatic
#110A15 #331D3D #563166 #79458F #995FB2

Accessibility & contrast

On white

10.36
#563166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#563166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563166
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563166#FFFFFF#000000##FFFFFF
##5631661.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263E68
Deuteranopia (green-blind)
#314165
Tritanopia (blue-blind)
#553946
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #563166;
/* rgb */ color: rgb(86, 49, 102);
/* oklch */ color: oklch(38.3% 0.096 314.9);
Tailwind
colors: {
  custom: {
    50: '#876a92',
    500: '#563166',
    950: '#000000',
  },
}
SCSS
$custom: #563166;
$custom-light: #876a92;
$custom-dark: #000000;
JSON
{
  "hex": "#563166",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 281.887,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.09642,
    "h": 314.9
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#563166
secondary
#6E975C
accent
#CB5D7E
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #563166

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

Preview Lab → · Contrast checker → · Palette generator →

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