#640DCC

#640dcc ≈ Han Purple

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

#640dcc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 5.1% green and 80% blue; printed in CMYK it uses 50.98% cyan, 93.63% magenta, 0% yellow and 20% black. Its hue angle is 267.33°, with 88.02% saturation and 42.55% 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.5:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.89.

Description generated from the measured properties of this color.

Conversions of #640dcc 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.0736

Readable text 8.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #573c92 ≈ 0.001% of males
Protanopia #004fd1 ≈ 1.01% of males
Deuteranopia #0049c9 ≈ 1.27% of males
Tritanopia #405178 ≈ 0.0001% of males
Protanomaly #003ecf ≈ 1.08% of males
Deuteranomaly #003aca ≈ 4.63% of males
Tritanomaly #5140a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-640dcc {
  color: #640dcc;
}
Background
.bg-640dcc {
  background-color: #640dcc;
  color: #ffffff;
}
Border
.border-640dcc {
  border: 2px solid #640dcc;
}
CSS variables
:root {
  --color-primary: #640dcc;
  --color-primary-rgb: 100 13 204;
  --color-primary-hsl: 267 88% 43%;
}
Gradient
.gradient-640dcc {
  background: linear-gradient(135deg, #640dcc, #c40dcc);
}
Colored shadow
.shadow-640dcc {
  box-shadow: 0 8px 24px rgb(100 13 204 / 0.35);
}

Han Purple
#640dcc  rgb(100, 13, 204)  hsl(267, 88%, 43%)  Han Purple
#75cc0d  rgb(117, 204, 13)  hsl(87, 88%, 43%)  Yellow Green
#cc640d  rgb(204, 100, 13)  hsl(27, 88%, 43%)  Chocolate
#0dcc64  rgb(13, 204, 100)  hsl(147, 88%, 43%)  Emerald