#642AFF

#642aff ≈ Electric Indigo

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

#642aff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 16.47% green and 100% blue; printed in CMYK it uses 60.78% cyan, 83.53% magenta, 0% yellow and 0% black. Its hue angle is 256.34°, with 100% 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.33:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 2.91.

Description generated from the measured properties of this color.

Conversions of #642aff 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.1159

Readable text 6.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #614fb6 ≈ 0.001% of males
Protanopia #0066ff ≈ 1.01% of males
Deuteranopia #0058fb ≈ 1.27% of males
Tritanopia #006f99 ≈ 0.0001% of males
Protanomaly #0054ff ≈ 1.08% of males
Deuteranomaly #004afd ≈ 4.63% of males
Tritanomaly #375bca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Indigo
#642aff  rgb(100, 42, 255)  hsl(256, 100%, 58%)  Electric Indigo
#c5ff2a  rgb(197, 255, 42)  hsl(76, 100%, 58%)  Electric Lime
#ff642a  rgb(255, 100, 42)  hsl(16, 100%, 58%)  International Orange
#2aff64  rgb(42, 255, 100)  hsl(136, 100%, 58%)  Spring Green