#563271#563271

#563271 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.1% C 0.109 H 308.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#563271
RGBrgb(86, 50, 113)
HSLhsl(274, 39%, 32%)
HSVhsv(274, 56%, 44%)
CMYKcmyk(23.9%, 55.8%, 0%, 55.7%)
CIE-LABlab(27.99, 29.15, -30.26)
CIE-LCHlch(27.99, 42.01, 313.93°)
OKLaboklab(39.14% 0.0677 -0.0849)
OKLCHoklch(39.14% 0.109 308.6)
XYZxyz(7.9584, 5.4520, 16.2527)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563271 #4D7132
analogous
#373271 #563271 #71326D
triadic
#563271 #715632 #327156
tetradic
#563271 #713732 #4D7132 #326D71
square
#563271 #713732 #4D7132 #326D71
split-complementary
#563271 #6D7132 #327137
monochromatic
#150C1C #361F47 #563271 #76459B #9563BA

Accessibility & contrast

On white

10.05
#563271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#563271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563271
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563271#FFFFFF#000000##FFFFFF
##5632711.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4173
Deuteranopia (green-blind)
#2B436F
Tritanopia (blue-blind)
#523D4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #563271;
/* rgb */ color: rgb(86, 50, 113);
/* oklch */ color: oklch(39.1% 0.109 308.6);
Tailwind
colors: {
  custom: {
    50: '#876b9a',
    500: '#563271',
    950: '#000000',
  },
}
SCSS
$custom: #563271;
$custom-light: #876b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#563271",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 274.286,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39139,
    "c": 0.10857,
    "h": 308.6
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#563271
secondary
#7AA25D
accent
#CF598C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #563271

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

Preview Lab → · Contrast checker → · Palette generator →

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