#642FFD

#642ffd ≈ Electric Indigo

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

#642ffd 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 99.22% blue; printed in CMYK it uses 60.47% cyan, 81.42% magenta, 0% yellow and 0.78% black. Its hue angle is 255.44°, with 98.1% saturation and 58.82% 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.24:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 3.49.

Description generated from the measured properties of this color.

Conversions of #642ffd 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.1183

Readable text 6.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #6251b5 ≈ 0.001% of males
Protanopia #0067ff ≈ 1.01% of males
Deuteranopia #005af9 ≈ 1.27% of males
Tritanopia #007099 ≈ 0.0001% of males
Protanomaly #0056ff ≈ 1.08% of males
Deuteranomaly #004cfb ≈ 4.63% of males
Tritanomaly #395dc9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-642ffd {
  color: #642ffd;
}
Background
.bg-642ffd {
  background-color: #642ffd;
  color: #ffffff;
}
Border
.border-642ffd {
  border: 2px solid #642ffd;
}
CSS variables
:root {
  --color-primary: #642ffd;
  --color-primary-rgb: 100 47 253;
  --color-primary-hsl: 255 98% 59%;
}
Gradient
.gradient-642ffd {
  background: linear-gradient(135deg, #642ffd, #cb2ffd);
}
Colored shadow
.shadow-642ffd {
  box-shadow: 0 8px 24px rgb(100 47 253 / 0.35);
}

Electric Indigo
#642ffd  rgb(100, 47, 253)  hsl(255, 98%, 59%)  Electric Indigo
#c8fd2f  rgb(200, 253, 47)  hsl(75, 98%, 59%)  Electric Lime
#fd642f  rgb(253, 100, 47)  hsl(15, 98%, 59%)  International Orange
#2ffd64  rgb(47, 253, 100)  hsl(135, 98%, 59%)  Spring Green