#640CD3

#640cd3 ≈ Han Purple

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

#640cd3 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 82.75% blue; printed in CMYK it uses 52.61% cyan, 94.31% magenta, 0% yellow and 17.25% black. Its hue angle is 266.53°, with 89.24% saturation and 43.73% 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.28:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.05.

Description generated from the measured properties of this color.

Conversions of #640cd3 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.0768

Readable text 8.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #583e96 ≈ 0.001% of males
Protanopia #0051d8 ≈ 1.01% of males
Deuteranopia #004ad0 ≈ 1.27% of males
Tritanopia #3b547c ≈ 0.0001% of males
Protanomaly #0040d6 ≈ 1.08% of males
Deuteranomaly #003ad1 ≈ 4.63% of males
Tritanomaly #4e42a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#640cd3  rgb(100, 12, 211)  hsl(267, 89%, 44%)  Han Purple
#7bd30c  rgb(123, 211, 12)  hsl(87, 89%, 44%)  Yellow Green
#d3640c  rgb(211, 100, 12)  hsl(27, 89%, 44%)  Chocolate
#0cd364  rgb(12, 211, 100)  hsl(147, 89%, 44%)  Malachite