#6040EA

#6040ea ≈ Majorelle Blue

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

#6040ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.65% red, 25.1% green and 91.76% blue; printed in CMYK it uses 58.97% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 251.29°, with 80.19% saturation and 58.43% 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 6.14:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.96.

Description generated from the measured properties of this color.

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

Readable text 6.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6156aa ≈ 0.001% of males
Protanopia #0067ef ≈ 1.01% of males
Deuteranopia #005ce7 ≈ 1.27% of males
Tritanopia #006f92 ≈ 0.0001% of males
Protanomaly #005aed ≈ 1.08% of males
Deuteranomaly #0052e8 ≈ 4.63% of males
Tritanomaly #3b60bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6040ea {
  color: #6040ea;
}
Background
.bg-6040ea {
  background-color: #6040ea;
  color: #ffffff;
}
Border
.border-6040ea {
  border: 2px solid #6040ea;
}
CSS variables
:root {
  --color-primary: #6040ea;
  --color-primary-rgb: 96 64 234;
  --color-primary-hsl: 251 80% 58%;
}
Gradient
.gradient-6040ea {
  background: linear-gradient(135deg, #6040ea, #b540ea);
}
Colored shadow
.shadow-6040ea {
  box-shadow: 0 8px 24px rgb(96 64 234 / 0.35);
}

Majorelle Blue
#6040ea  rgb(96, 64, 234)  hsl(251, 80%, 58%)  Majorelle Blue
#caea40  rgb(202, 234, 64)  hsl(71, 80%, 58%)  Pear
#ea6040  rgb(234, 96, 64)  hsl(11, 80%, 58%)  Tomato
#40ea60  rgb(64, 234, 96)  hsl(131, 80%, 58%)  Malachite