#6A12E2

#6a12e2 ≈ Electric Indigo

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

#6a12e2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 41.57% red, 7.06% green and 88.63% blue; printed in CMYK it uses 53.1% cyan, 92.04% magenta, 0% yellow and 11.37% black. Its hue angle is 265.38°, with 85.25% saturation and 47.84% 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.51:1 (WCAG AAA). The closest named color is Electric Indigo (#6f00ff), ΔE 3.43.

Description generated from the measured properties of this color.

Conversions of #6a12e2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6600cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0899

Readable text 7.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #5e43a1 ≈ 0.001% of males
Protanopia #0058e7 ≈ 1.01% of males
Deuteranopia #0050df ≈ 1.27% of males
Tritanopia #3c5c85 ≈ 0.0001% of males
Protanomaly #0046e5 ≈ 1.08% of males
Deuteranomaly #0040e0 ≈ 4.63% of males
Tritanomaly #5249b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6a12e2 {
  color: #6a12e2;
}
Background
.bg-6a12e2 {
  background-color: #6a12e2;
  color: #ffffff;
}
Border
.border-6a12e2 {
  border: 2px solid #6a12e2;
}
CSS variables
:root {
  --color-primary: #6a12e2;
  --color-primary-rgb: 106 18 226;
  --color-primary-hsl: 265 85% 48%;
}
Gradient
.gradient-6a12e2 {
  background: linear-gradient(135deg, #6a12e2, #d212e2);
}
Colored shadow
.shadow-6a12e2 {
  box-shadow: 0 8px 24px rgb(106 18 226 / 0.35);
}

Electric Indigo
#6a12e2  rgb(106, 18, 226)  hsl(265, 85%, 48%)  Electric Indigo
#8ae212  rgb(138, 226, 18)  hsl(85, 85%, 48%)  Inchworm
#e26a12  rgb(226, 106, 18)  hsl(25, 85%, 48%)  Chocolate
#12e26a  rgb(18, 226, 106)  hsl(145, 85%, 48%)  Malachite