#662EFF

#662eff ≈ Electric Indigo

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

#662eff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 40% red, 18.04% green and 100% blue; printed in CMYK it uses 60% cyan, 81.96% magenta, 0% yellow and 0% black. Its hue angle is 256.08°, with 100% saturation and 59.02% 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.18:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 3.42.

Description generated from the measured properties of this color.

Conversions of #662eff 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.12

Readable text 6.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #6351b7 ≈ 0.001% of males
Protanopia #0067ff ≈ 1.01% of males
Deuteranopia #005afb ≈ 1.27% of males
Tritanopia #00709a ≈ 0.0001% of males
Protanomaly #0056ff ≈ 1.08% of males
Deuteranomaly #004cfd ≈ 4.63% of males
Tritanomaly #3c5dcb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-662eff {
  color: #662eff;
}
Background
.bg-662eff {
  background-color: #662eff;
  color: #ffffff;
}
Border
.border-662eff {
  border: 2px solid #662eff;
}
CSS variables
:root {
  --color-primary: #662eff;
  --color-primary-rgb: 102 46 255;
  --color-primary-hsl: 256 100% 59%;
}
Gradient
.gradient-662eff {
  background: linear-gradient(135deg, #662eff, #cf2eff);
}
Colored shadow
.shadow-662eff {
  box-shadow: 0 8px 24px rgb(102 46 255 / 0.35);
}

Electric Indigo
#662eff  rgb(102, 46, 255)  hsl(256, 100%, 59%)  Electric Indigo
#c7ff2e  rgb(199, 255, 46)  hsl(76, 100%, 59%)  Electric Lime
#ff662e  rgb(255, 102, 46)  hsl(16, 100%, 59%)  International Orange
#2eff66  rgb(46, 255, 102)  hsl(136, 100%, 59%)  Spring Green