#6540EA

#6540ea ≈ Majorelle Blue

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

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

Description generated from the measured properties of this color.

Conversions of #6540ea 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.1237

Readable text 6.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6457aa ≈ 0.001% of males
Protanopia #0067ef ≈ 1.01% of males
Deuteranopia #005de7 ≈ 1.27% of males
Tritanopia #1d6f92 ≈ 0.0001% of males
Protanomaly #005aed ≈ 1.08% of males
Deuteranomaly #0053e8 ≈ 4.63% of males
Tritanomaly #4560bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#6540ea  rgb(101, 64, 234)  hsl(253, 80%, 58%)  Majorelle Blue
#c5ea40  rgb(197, 234, 64)  hsl(73, 80%, 58%)  Pear
#ea6540  rgb(234, 101, 64)  hsl(13, 80%, 58%)  Burnt Sienna
#40ea65  rgb(64, 234, 101)  hsl(133, 80%, 58%)  Malachite