#640CDC

#640cdc ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#640cdc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 4.71% green and 86.27% blue; printed in CMYK it uses 54.55% cyan, 94.55% magenta, 0% yellow and 13.73% black. Its hue angle is 265.38°, with 89.66% saturation and 45.49% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.99:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.99.

Description generated from the measured properties of this color.

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

Readable text 7.99: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 #593f9d ≈ 0.001% of males
Protanopia #0054e1 ≈ 1.01% of males
Deuteranopia #004cd9 ≈ 1.27% of males
Tritanopia #325981 ≈ 0.0001% of males
Protanomaly #0042df ≈ 1.08% of males
Deuteranomaly #003cda ≈ 4.63% of males
Tritanomaly #4b46ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-640cdc {
  color: #640cdc;
}
Background
.bg-640cdc {
  background-color: #640cdc;
  color: #ffffff;
}
Border
.border-640cdc {
  border: 2px solid #640cdc;
}
CSS variables
:root {
  --color-primary: #640cdc;
  --color-primary-rgb: 100 12 220;
  --color-primary-hsl: 265 90% 45%;
}
Gradient
.gradient-640cdc {
  background: linear-gradient(135deg, #640cdc, #cc0cdc);
}
Colored shadow
.shadow-640cdc {
  box-shadow: 0 8px 24px rgb(100 12 220 / 0.35);
}

Han Purple
#640cdc  rgb(100, 12, 220)  hsl(265, 90%, 45%)  Han Purple
#84dc0c  rgb(132, 220, 12)  hsl(85, 90%, 45%)  Yellow Green
#dc640c  rgb(220, 100, 12)  hsl(25, 90%, 45%)  Chocolate
#0cdc64  rgb(12, 220, 100)  hsl(145, 90%, 45%)  Malachite