#6140EA

#6140ea ≈ Majorelle Blue

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

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

Description generated from the measured properties of this color.

Conversions of #6140ea 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.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 #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 #3d60bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#6140ea  rgb(97, 64, 234)  hsl(252, 80%, 58%)  Majorelle Blue
#c9ea40  rgb(201, 234, 64)  hsl(72, 80%, 58%)  Pear
#ea6140  rgb(234, 97, 64)  hsl(12, 80%, 58%)  Tomato
#40ea61  rgb(64, 234, 97)  hsl(132, 80%, 58%)  Malachite