#563162#563162

#563162 is a dark, moderate purple. Relative luminance 0.051; OKLCH L 38.1% C 0.091 H 317.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#563162
RGBrgb(86, 49, 98)
HSLhsl(285, 33%, 29%)
HSVhsv(285, 50%, 38%)
CMYKcmyk(12.2%, 50%, 0%, 61.6%)
CIE-LABlab(26.90, 26.08, -22.33)
CIE-LCHlch(26.90, 34.33, 319.42°)
OKLaboklab(38.05% 0.0674 -0.0618)
OKLCHoklch(38.05% 0.091 317.5)
XYZxyz(7.1404, 5.0571, 12.1529)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563162 #3D6231
analogous
#3E3162 #563162 #623156
triadic
#563162 #625631 #316256
tetradic
#563162 #623E31 #3D6231 #315662
square
#563162 #623E31 #3D6231 #315662
split-complementary
#563162 #566231 #31623E
monochromatic
#120A14 #321D39 #563162 #7A458B #9B5FAF

Accessibility & contrast

On white

10.44
#563162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#563162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563162
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563162#FFFFFF#000000##FFFFFF
##5631621.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D64
Deuteranopia (green-blind)
#334161
Tritanopia (blue-blind)
#563845
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #563162;
/* rgb */ color: rgb(86, 49, 98);
/* oklch */ color: oklch(38.1% 0.091 317.5);
Tailwind
colors: {
  custom: {
    50: '#876a8f',
    500: '#563162',
    950: '#000000',
  },
}
SCSS
$custom: #563162;
$custom-light: #876a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#563162",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 285.306,
    "s": 33.333,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38054,
    "c": 0.09146,
    "h": 317.5
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#563162
secondary
#69935C
accent
#C95E79
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #563162

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

Preview Lab → · Contrast checker → · Palette generator →

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