#640CB4

#640cb4 ≈ Rebecca Purple

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#640cb4 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 39.22% red, 4.71% green and 70.59% blue; printed in CMYK it uses 44.44% cyan, 93.33% magenta, 0% yellow and 29.41% black. Its hue angle is 271.43°, with 87.5% saturation and 37.65% 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 9.32:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 6.77.

Description generated from the measured properties of this color.

Conversions of #640cb4 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.0627

Readable text 9.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #543881 ≈ 0.001% of males
Protanopia #0047b8 ≈ 1.01% of males
Deuteranopia #0045b1 ≈ 1.27% of males
Tritanopia #4f4669 ≈ 0.0001% of males
Protanomaly #1738b6 ≈ 1.08% of males
Deuteranomaly #2536b2 ≈ 4.63% of males
Tritanomaly #58378d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-640cb4 {
  color: #640cb4;
}
Background
.bg-640cb4 {
  background-color: #640cb4;
  color: #ffffff;
}
Border
.border-640cb4 {
  border: 2px solid #640cb4;
}
CSS variables
:root {
  --color-primary: #640cb4;
  --color-primary-rgb: 100 12 180;
  --color-primary-hsl: 271 88% 38%;
}
Gradient
.gradient-640cb4 {
  background: linear-gradient(135deg, #640cb4, #b40cb0);
}
Colored shadow
.shadow-640cb4 {
  box-shadow: 0 8px 24px rgb(100 12 180 / 0.35);
}

Rebecca Purple
#640cb4  rgb(100, 12, 180)  hsl(271, 88%, 38%)  Rebecca Purple
#5cb40c  rgb(92, 180, 12)  hsl(91, 88%, 38%)  Kelly Green
#b4640c  rgb(180, 100, 12)  hsl(31, 88%, 38%)  Ginger
#0cb464  rgb(12, 180, 100)  hsl(151, 88%, 38%)  Medium Sea Green