#6F28DC

#6f28dc ≈ Electric Indigo

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#6f28dc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 43.53% red, 15.69% green and 86.27% blue; printed in CMYK it uses 49.55% cyan, 81.82% magenta, 0% yellow and 13.73% black. Its hue angle is 263.67°, with 72% saturation and 50.98% 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 brand accents. White text on this color reaches a contrast ratio of 6.97:1 (WCAG AA). The closest named color is Electric Indigo (#6f00ff), ΔE 4.01.

Description generated from the measured properties of this color.

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

Readable text 6.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #634a9f ≈ 0.001% of males
Protanopia #005ce1 ≈ 1.01% of males
Deuteranopia #0056d9 ≈ 1.27% of males
Tritanopia #4b5e85 ≈ 0.0001% of males
Protanomaly #0c4cdf ≈ 1.08% of males
Deuteranomaly #1c48da ≈ 4.63% of males
Tritanomaly #5b4eaf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6f28dc {
  color: #6f28dc;
}
Background
.bg-6f28dc {
  background-color: #6f28dc;
  color: #ffffff;
}
Border
.border-6f28dc {
  border: 2px solid #6f28dc;
}
CSS variables
:root {
  --color-primary: #6f28dc;
  --color-primary-rgb: 111 40 220;
  --color-primary-hsl: 264 72% 51%;
}
Gradient
.gradient-6f28dc {
  background: linear-gradient(135deg, #6f28dc, #c928dc);
}
Colored shadow
.shadow-6f28dc {
  box-shadow: 0 8px 24px rgb(111 40 220 / 0.35);
}

Electric Indigo
#6f28dc  rgb(111, 40, 220)  hsl(264, 72%, 51%)  Electric Indigo
#95dc28  rgb(149, 220, 40)  hsl(84, 72%, 51%)  Yellow Green
#dc6f28  rgb(220, 111, 40)  hsl(24, 72%, 51%)  Chocolate
#28dc6f  rgb(40, 220, 111)  hsl(144, 72%, 51%)  Malachite