#6E40DC

#6e40dc ≈ Majorelle Blue

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

#6e40dc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 43.14% red, 25.1% green and 86.27% blue; printed in CMYK it uses 50% cyan, 70.91% magenta, 0% yellow and 13.73% black. Its hue angle is 257.69°, with 69.03% saturation and 55.69% 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.12:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.45.

Description generated from the measured properties of this color.

Conversions of #6e40dc 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.1215

Readable text 6.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6756a2 ≈ 0.001% of males
Protanopia #0065e1 ≈ 1.01% of males
Deuteranopia #005ed9 ≈ 1.27% of males
Tritanopia #47698a ≈ 0.0001% of males
Protanomaly #2858df ≈ 1.08% of males
Deuteranomaly #2c54da ≈ 4.63% of males
Tritanomaly #595bb1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6e40dc {
  color: #6e40dc;
}
Background
.bg-6e40dc {
  background-color: #6e40dc;
  color: #ffffff;
}
Border
.border-6e40dc {
  border: 2px solid #6e40dc;
}
CSS variables
:root {
  --color-primary: #6e40dc;
  --color-primary-rgb: 110 64 220;
  --color-primary-hsl: 258 69% 56%;
}
Gradient
.gradient-6e40dc {
  background: linear-gradient(135deg, #6e40dc, #bc40dc);
}
Colored shadow
.shadow-6e40dc {
  box-shadow: 0 8px 24px rgb(110 64 220 / 0.35);
}

Majorelle Blue
#6e40dc  rgb(110, 64, 220)  hsl(258, 69%, 56%)  Majorelle Blue
#aedc40  rgb(174, 220, 64)  hsl(78, 69%, 56%)  June Bud
#dc6e40  rgb(220, 110, 64)  hsl(18, 69%, 56%)  Burnt Sienna
#40dc6e  rgb(64, 220, 110)  hsl(138, 69%, 56%)  Malachite