#640ECB

#640ecb ≈ Han Purple

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

#640ecb 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.49% green and 79.61% blue; printed in CMYK it uses 50.74% cyan, 93.1% magenta, 0% yellow and 20.39% black. Its hue angle is 267.3°, with 87.1% 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.51:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.99.

Description generated from the measured properties of this color.

Conversions of #640ecb 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.0734

Readable text 8.51: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 #573c91 ≈ 0.001% of males
Protanopia #004fd0 ≈ 1.01% of males
Deuteranopia #0049c8 ≈ 1.27% of males
Tritanopia #415177 ≈ 0.0001% of males
Protanomaly #003ece ≈ 1.08% of males
Deuteranomaly #003ac9 ≈ 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-640ecb {
  color: #640ecb;
}
Background
.bg-640ecb {
  background-color: #640ecb;
  color: #ffffff;
}
Border
.border-640ecb {
  border: 2px solid #640ecb;
}
CSS variables
:root {
  --color-primary: #640ecb;
  --color-primary-rgb: 100 14 203;
  --color-primary-hsl: 267 87% 43%;
}
Gradient
.gradient-640ecb {
  background: linear-gradient(135deg, #640ecb, #c30ecb);
}
Colored shadow
.shadow-640ecb {
  box-shadow: 0 8px 24px rgb(100 14 203 / 0.35);
}

Han Purple
#640ecb  rgb(100, 14, 203)  hsl(267, 87%, 43%)  Han Purple
#75cb0e  rgb(117, 203, 14)  hsl(87, 87%, 43%)  Yellow Green
#cb640e  rgb(203, 100, 14)  hsl(27, 87%, 43%)  Chocolate
#0ecb64  rgb(14, 203, 100)  hsl(147, 87%, 43%)  Emerald