#6402FB

#6402fb ≈ Electric Indigo

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

#6402fb 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 98.43% blue; printed in CMYK it uses 60.16% cyan, 99.2% magenta, 0% yellow and 1.57% black. Its hue angle is 263.61°, with 98.42% saturation and 49.61% 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.13:1 (WCAG AAA). The closest named color is Electric Indigo (#6f00ff), ΔE 1.5.

Description generated from the measured properties of this color.

Conversions of #6402fb into other color spaces
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 luminance0.0972

Readable text 7.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5d44b2 ≈ 0.001% of males
Protanopia #005eff ≈ 1.01% of males
Deuteranopia #0051f7 ≈ 1.27% of males
Tritanopia #006694 ≈ 0.0001% of males
Protanomaly #0049fe ≈ 1.08% of males
Deuteranomaly #003ff9 ≈ 4.63% of males
Tritanomaly #3b50c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6402fb {
  color: #6402fb;
}
Background
.bg-6402fb {
  background-color: #6402fb;
  color: #ffffff;
}
Border
.border-6402fb {
  border: 2px solid #6402fb;
}
CSS variables
:root {
  --color-primary: #6402fb;
  --color-primary-rgb: 100 2 251;
  --color-primary-hsl: 264 98% 50%;
}
Gradient
.gradient-6402fb {
  background: linear-gradient(135deg, #6402fb, #e002fb);
}
Colored shadow
.shadow-6402fb {
  box-shadow: 0 8px 24px rgb(100 2 251 / 0.35);
}

Electric Indigo
#6402fb  rgb(100, 2, 251)  hsl(264, 98%, 50%)  Electric Indigo
#99fb02  rgb(153, 251, 2)  hsl(84, 98%, 50%)  Spring Bud
#fb6402  rgb(251, 100, 2)  hsl(24, 98%, 50%)  Pumpkin
#02fb64  rgb(2, 251, 100)  hsl(144, 98%, 50%)  Spring Green