#6402ff ≈ Electric Indigo
#6402ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 0.78% green and 100% blue; printed in CMYK it uses 60.78% cyan, 99.22% magenta, 0% yellow and 0% black. Its hue angle is 263.24°, with 100% saturation and 50.39% 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 7.01:1 (WCAG AAA). The closest named color is Electric Indigo (#6f00ff), ΔE 1.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0997 |
Shades
#6402ff mixed progressively with black.
Tints
#6402ff mixed progressively with white.
Tones
#6402ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6402ff {
color: #6402ff;
}
.bg-6402ff {
background-color: #6402ff;
color: #ffffff;
}
.border-6402ff {
border: 2px solid #6402ff;
}
:root {
--color-primary: #6402ff;
--color-primary-rgb: 100 2 255;
--color-primary-hsl: 263 100% 50%;
}
.gradient-6402ff {
background: linear-gradient(135deg, #6402ff, #e202ff);
}
.shadow-6402ff {
box-shadow: 0 8px 24px rgb(100 2 255 / 0.35);
}
Electric Indigo
#6402ff rgb(100, 2, 255) hsl(263, 100%, 50%) Electric Indigo
#9dff02 rgb(157, 255, 2) hsl(83, 100%, 50%) Spring Bud
#ff6402 rgb(255, 100, 2) hsl(23, 100%, 50%) Pumpkin
#02ff64 rgb(2, 255, 100) hsl(143, 100%, 50%) Spring Green