#642DDC

#642ddc ≈ Han Purple

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

#642ddc 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 86.27% blue; printed in CMYK it uses 54.55% cyan, 79.55% magenta, 0% yellow and 13.73% black. Its hue angle is 258.86°, with 71.43% saturation and 51.96% 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.12:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.89.

Description generated from the measured properties of this color.

Conversions of #642ddc 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.0975

Readable text 7.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5d4a9f ≈ 0.001% of males
Protanopia #005ce1 ≈ 1.01% of males
Deuteranopia #0053d9 ≈ 1.27% of males
Tritanopia #306185 ≈ 0.0001% of males
Protanomaly #004ddf ≈ 1.08% of males
Deuteranomaly #0047da ≈ 4.63% of males
Tritanomaly #4a51af ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-642ddc {
  color: #642ddc;
}
Background
.bg-642ddc {
  background-color: #642ddc;
  color: #ffffff;
}
Border
.border-642ddc {
  border: 2px solid #642ddc;
}
CSS variables
:root {
  --color-primary: #642ddc;
  --color-primary-rgb: 100 45 220;
  --color-primary-hsl: 259 71% 52%;
}
Gradient
.gradient-642ddc {
  background: linear-gradient(135deg, #642ddc, #bc2ddc);
}
Colored shadow
.shadow-642ddc {
  box-shadow: 0 8px 24px rgb(100 45 220 / 0.35);
}

Han Purple
#642ddc  rgb(100, 45, 220)  hsl(259, 71%, 52%)  Han Purple
#a5dc2d  rgb(165, 220, 45)  hsl(79, 71%, 52%)  Yellow Green
#dc642d  rgb(220, 100, 45)  hsl(19, 71%, 52%)  Flame
#2ddc64  rgb(45, 220, 100)  hsl(139, 71%, 52%)  Malachite