#640C8A

#640c8a ≈ Indigo

  • magenta
  • Lightness: low
  • Saturation: moderate
  • Cool

#640c8a is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 39.22% red, 4.71% green and 54.12% blue; printed in CMYK it uses 27.54% cyan, 91.3% magenta, 0% yellow and 45.88% black. Its hue angle is 281.9°, with 84% saturation and 29.41% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 10.71:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 4.8.

Description generated from the measured properties of this color.

Conversions of #640c8a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#660099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0481

Readable text 10.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #503165 ≈ 0.001% of males
Protanopia #003a8d ≈ 1.01% of males
Deuteranopia #003f88 ≈ 1.27% of males
Tritanopia #5f3150 ≈ 0.0001% of males
Protanomaly #332e8c ≈ 1.08% of males
Deuteranomaly #3d3289 ≈ 4.63% of males
Tritanomaly #61276c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-640c8a {
  color: #640c8a;
}
Background
.bg-640c8a {
  background-color: #640c8a;
  color: #ffffff;
}
Border
.border-640c8a {
  border: 2px solid #640c8a;
}
CSS variables
:root {
  --color-primary: #640c8a;
  --color-primary-rgb: 100 12 138;
  --color-primary-hsl: 282 84% 29%;
}
Gradient
.gradient-640c8a {
  background: linear-gradient(135deg, #640c8a, #8a0c71);
}
Colored shadow
.shadow-640c8a {
  box-shadow: 0 8px 24px rgb(100 12 138 / 0.35);
}

Indigo
#640c8a  rgb(100, 12, 138)  hsl(282, 84%, 29%)  Indigo
#328a0c  rgb(50, 138, 12)  hsl(102, 84%, 29%)  India Green
#8a640c  rgb(138, 100, 12)  hsl(42, 84%, 29%)  Golden Brown
#0c8a64  rgb(12, 138, 100)  hsl(162, 84%, 29%)  Sea Green