#642DF7

#642df7 ≈ Electric Indigo

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#642df7 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 17.65% green and 96.86% blue; printed in CMYK it uses 59.51% cyan, 81.78% magenta, 0% yellow and 3.14% black. Its hue angle is 256.34°, with 92.66% saturation and 57.25% 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 6.44:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 3.1.

Description generated from the measured properties of this color.

Conversions of #642df7 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.113

Readable text 6.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #614fb1 ≈ 0.001% of males
Protanopia #0064fc ≈ 1.01% of males
Deuteranopia #0058f4 ≈ 1.27% of males
Tritanopia #006d95 ≈ 0.0001% of males
Protanomaly #0053fa ≈ 1.08% of males
Deuteranomaly #004af5 ≈ 4.63% of males
Tritanomaly #3d5ac4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-642df7 {
  color: #642df7;
}
Background
.bg-642df7 {
  background-color: #642df7;
  color: #ffffff;
}
Border
.border-642df7 {
  border: 2px solid #642df7;
}
CSS variables
:root {
  --color-primary: #642df7;
  --color-primary-rgb: 100 45 247;
  --color-primary-hsl: 256 93% 57%;
}
Gradient
.gradient-642df7 {
  background: linear-gradient(135deg, #642df7, #c92df7);
}
Colored shadow
.shadow-642df7 {
  box-shadow: 0 8px 24px rgb(100 45 247 / 0.35);
}

Electric Indigo
#642df7  rgb(100, 45, 247)  hsl(256, 93%, 57%)  Electric Indigo
#c0f72d  rgb(192, 247, 45)  hsl(76, 93%, 57%)  Electric Lime
#f7642d  rgb(247, 100, 45)  hsl(16, 93%, 57%)  International Orange
#2df764  rgb(45, 247, 100)  hsl(136, 93%, 57%)  Spring Green