#642FFA

#642ffa ≈ Electric Indigo

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

#642ffa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 18.43% green and 98.04% blue; printed in CMYK it uses 60% cyan, 81.2% magenta, 0% yellow and 1.96% black. Its hue angle is 255.67°, with 95.31% saturation and 58.24% 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.31:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 3.4.

Description generated from the measured properties of this color.

Conversions of #642ffa 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.1164

Readable text 6.31:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #6250b3 ≈ 0.001% of males
Protanopia #0066ff ≈ 1.01% of males
Deuteranopia #0059f7 ≈ 1.27% of males
Tritanopia #006f97 ≈ 0.0001% of males
Protanomaly #0055fd ≈ 1.08% of males
Deuteranomaly #004cf8 ≈ 4.63% of males
Tritanomaly #3b5cc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-642ffa {
  color: #642ffa;
}
Background
.bg-642ffa {
  background-color: #642ffa;
  color: #ffffff;
}
Border
.border-642ffa {
  border: 2px solid #642ffa;
}
CSS variables
:root {
  --color-primary: #642ffa;
  --color-primary-rgb: 100 47 250;
  --color-primary-hsl: 256 95% 58%;
}
Gradient
.gradient-642ffa {
  background: linear-gradient(135deg, #642ffa, #ca2ffa);
}
Colored shadow
.shadow-642ffa {
  box-shadow: 0 8px 24px rgb(100 47 250 / 0.35);
}

Electric Indigo
#642ffa  rgb(100, 47, 250)  hsl(256, 95%, 58%)  Electric Indigo
#c5fa2f  rgb(197, 250, 47)  hsl(76, 95%, 58%)  Electric Lime
#fa642f  rgb(250, 100, 47)  hsl(16, 95%, 58%)  International Orange
#2ffa64  rgb(47, 250, 100)  hsl(136, 95%, 58%)  Spring Green