#640CD5

#640cd5 ≈ Han Purple

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

#640cd5 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 83.53% blue; printed in CMYK it uses 53.05% cyan, 94.37% magenta, 0% yellow and 16.47% black. Its hue angle is 266.27°, with 89.33% saturation and 44.12% 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.22:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.81.

Description generated from the measured properties of this color.

Conversions of #640cd5 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.0778

Readable text 8.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #583e98 ≈ 0.001% of males
Protanopia #0052da ≈ 1.01% of males
Deuteranopia #004bd2 ≈ 1.27% of males
Tritanopia #39557d ≈ 0.0001% of males
Protanomaly #0040d8 ≈ 1.08% of males
Deuteranomaly #003bd3 ≈ 4.63% of males
Tritanomaly #4e43a8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#640cd5  rgb(100, 12, 213)  hsl(266, 89%, 44%)  Han Purple
#7dd50c  rgb(125, 213, 12)  hsl(86, 89%, 44%)  Yellow Green
#d5640c  rgb(213, 100, 12)  hsl(26, 89%, 44%)  Chocolate
#0cd564  rgb(12, 213, 100)  hsl(146, 89%, 44%)  Malachite