#640CD9

#640cd9 ≈ Han Purple

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

#640cd9 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 85.1% blue; printed in CMYK it uses 53.92% cyan, 94.47% magenta, 0% yellow and 14.9% black. Its hue angle is 265.76°, with 89.52% saturation and 44.9% 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 8.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #640cd9 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.0798

Readable text 8.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #593f9a ≈ 0.001% of males
Protanopia #0053de ≈ 1.01% of males
Deuteranopia #004bd6 ≈ 1.27% of males
Tritanopia #35577f ≈ 0.0001% of males
Protanomaly #0041dc ≈ 1.08% of males
Deuteranomaly #003bd7 ≈ 4.63% of males
Tritanomaly #4c45ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#640cd9  rgb(100, 12, 217)  hsl(266, 90%, 45%)  Han Purple
#81d90c  rgb(129, 217, 12)  hsl(86, 90%, 45%)  Yellow Green
#d9640c  rgb(217, 100, 12)  hsl(26, 90%, 45%)  Chocolate
#0cd964  rgb(12, 217, 100)  hsl(146, 90%, 45%)  Malachite