#642DC6

#642dc6 ≈ Han Purple

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

#642dc6 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 17.65% green and 77.65% blue; printed in CMYK it uses 49.49% cyan, 77.27% magenta, 0% yellow and 22.35% black. Its hue angle is 261.57°, with 62.96% saturation and 47.65% 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.68:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 6.17.

Description generated from the measured properties of this color.

Conversions of #642dc6 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.0866

Readable text 7.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5a4790 ≈ 0.001% of males
Protanopia #0055ca ≈ 1.01% of males
Deuteranopia #0050c3 ≈ 1.27% of males
Tritanopia #445879 ≈ 0.0001% of males
Protanomaly #1948c9 ≈ 1.08% of males
Deuteranomaly #2144c4 ≈ 4.63% of males
Tritanomaly #524a9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-642dc6 {
  color: #642dc6;
}
Background
.bg-642dc6 {
  background-color: #642dc6;
  color: #ffffff;
}
Border
.border-642dc6 {
  border: 2px solid #642dc6;
}
CSS variables
:root {
  --color-primary: #642dc6;
  --color-primary-rgb: 100 45 198;
  --color-primary-hsl: 262 63% 48%;
}
Gradient
.gradient-642dc6 {
  background: linear-gradient(135deg, #642dc6, #b12dc6);
}
Colored shadow
.shadow-642dc6 {
  box-shadow: 0 8px 24px rgb(100 45 198 / 0.35);
}

Han Purple
#642dc6  rgb(100, 45, 198)  hsl(262, 63%, 48%)  Han Purple
#8fc62d  rgb(143, 198, 45)  hsl(82, 63%, 48%)  Yellow Green
#c6642d  rgb(198, 100, 45)  hsl(22, 63%, 48%)  Chocolate
#2dc664  rgb(45, 198, 100)  hsl(142, 63%, 48%)  Emerald