#563182#563182

#563182 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.132 H 301.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#563182
RGBrgb(86, 49, 130)
HSLhsl(267, 45%, 35%)
HSVhsv(267, 62%, 51%)
CMYKcmyk(33.8%, 62.3%, 0%, 49%)
CIE-LABlab(28.87, 34.20, -39.57)
CIE-LCHlch(28.87, 52.30, 310.84°)
OKLaboklab(40.14% 0.0695 -0.1121)
OKLCHoklch(40.14% 0.132 301.8)
XYZxyz(8.9644, 5.7867, 21.7594)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563182 #5D8231
analogous
#313582 #563182 #7E3182
triadic
#563182 #825631 #318256
tetradic
#563182 #823135 #5D8231 #31827E
square
#563182 #823135 #5D8231 #31827E
split-complementary
#563182 #827E31 #358231
monochromatic
#1B0F29 #392056 #563182 #7342AE #9368C6

Accessibility & contrast

On white

9.73
#563182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#563182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563182
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563182#FFFFFF#000000##FFFFFF
##5631821.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034385
Deuteranopia (green-blind)
#194480
Tritanopia (blue-blind)
#4D4254
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #563182;
/* rgb */ color: rgb(86, 49, 130);
/* oklch */ color: oklch(40.1% 0.132 301.8);
Tailwind
colors: {
  custom: {
    50: '#896ba7',
    500: '#563182',
    950: '#000000',
  },
}
SCSS
$custom: #563182;
$custom-light: #896ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#563182",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 267.407,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.13194,
    "h": 301.8
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#563182
secondary
#8BAD62
accent
#D5539A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #563182

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

Preview Lab → · Contrast checker → · Palette generator →

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