#6640EA

#6640ea ≈ Majorelle Blue

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

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

Description generated from the measured properties of this color.

Conversions of #6640ea 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.1243

Readable text 6.02:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6457aa ≈ 0.001% of males
Protanopia #0068ef ≈ 1.01% of males
Deuteranopia #005ee7 ≈ 1.27% of males
Tritanopia #226f92 ≈ 0.0001% of males
Protanomaly #005aed ≈ 1.08% of males
Deuteranomaly #0053e8 ≈ 4.63% of males
Tritanomaly #4760bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#6640ea  rgb(102, 64, 234)  hsl(253, 80%, 58%)  Majorelle Blue
#c4ea40  rgb(196, 234, 64)  hsl(73, 80%, 58%)  Pear
#ea6640  rgb(234, 102, 64)  hsl(13, 80%, 58%)  Burnt Sienna
#40ea66  rgb(64, 234, 102)  hsl(133, 80%, 58%)  Malachite