#562DCB

#562dcb ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#562dcb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 33.73% red, 17.65% green and 79.61% blue; printed in CMYK it uses 57.64% cyan, 77.83% magenta, 0% yellow and 20.39% black. Its hue angle is 255.57°, with 63.71% saturation and 48.63% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.97:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.36.

Description generated from the measured properties of this color.

Conversions of #562dcb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0817

Readable text 7.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #534592 ≈ 0.001% of males
Protanopia #0055cf ≈ 1.01% of males
Deuteranopia #004cc8 ≈ 1.27% of males
Tritanopia #165b7c ≈ 0.0001% of males
Protanomaly #0048ce ≈ 1.08% of males
Deuteranomaly #0042c9 ≈ 4.63% of males
Tritanomaly #3a4da2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-562dcb {
  color: #562dcb;
}
Background
.bg-562dcb {
  background-color: #562dcb;
  color: #ffffff;
}
Border
.border-562dcb {
  border: 2px solid #562dcb;
}
CSS variables
:root {
  --color-primary: #562dcb;
  --color-primary-rgb: 86 45 203;
  --color-primary-hsl: 256 64% 49%;
}
Gradient
.gradient-562dcb {
  background: linear-gradient(135deg, #562dcb, #a52dcb);
}
Colored shadow
.shadow-562dcb {
  box-shadow: 0 8px 24px rgb(86 45 203 / 0.35);
}

Han Purple
#562dcb  rgb(86, 45, 203)  hsl(256, 64%, 49%)  Han Purple
#a2cb2d  rgb(162, 203, 45)  hsl(76, 64%, 49%)  Yellow Green
#cb562d  rgb(203, 86, 45)  hsl(16, 64%, 49%)  Sinopia
#2dcb56  rgb(45, 203, 86)  hsl(136, 64%, 49%)  Malachite