#640E8A

#640e8a ≈ Indigo

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

#640e8a is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 39.22% red, 5.49% green and 54.12% blue; printed in CMYK it uses 27.54% cyan, 89.86% magenta, 0% yellow and 45.88% black. Its hue angle is 281.61°, with 81.58% saturation and 29.8% 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.65:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 4.88.

Description generated from the measured properties of this color.

Conversions of #640e8a 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.0486

Readable text 10.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #503165 ≈ 0.001% of males
Protanopia #003b8d ≈ 1.01% of males
Deuteranopia #004088 ≈ 1.27% of males
Tritanopia #5f3250 ≈ 0.0001% of males
Protanomaly #342e8c ≈ 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-640e8a {
  color: #640e8a;
}
Background
.bg-640e8a {
  background-color: #640e8a;
  color: #ffffff;
}
Border
.border-640e8a {
  border: 2px solid #640e8a;
}
CSS variables
:root {
  --color-primary: #640e8a;
  --color-primary-rgb: 100 14 138;
  --color-primary-hsl: 282 82% 30%;
}
Gradient
.gradient-640e8a {
  background: linear-gradient(135deg, #640e8a, #8a0e72);
}
Colored shadow
.shadow-640e8a {
  box-shadow: 0 8px 24px rgb(100 14 138 / 0.35);
}

Indigo
#640e8a  rgb(100, 14, 138)  hsl(282, 82%, 30%)  Indigo
#348a0e  rgb(52, 138, 14)  hsl(102, 82%, 30%)  India Green
#8a640e  rgb(138, 100, 14)  hsl(42, 82%, 30%)  Golden Brown
#0e8a64  rgb(14, 138, 100)  hsl(162, 82%, 30%)  Sea Green