#6540FC

#6540fc ≈ Majorelle Blue

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

#6540fc 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 98.82% blue; printed in CMYK it uses 59.92% cyan, 74.6% magenta, 0% yellow and 1.18% black. Its hue angle is 251.81°, with 96.91% saturation and 61.96% 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 5.69:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.9.

Description generated from the measured properties of this color.

Conversions of #6540fc 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.1346

Readable text 5.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #665ab6 ≈ 0.001% of males
Protanopia #006dff ≈ 1.01% of males
Deuteranopia #0060f9 ≈ 1.27% of males
Tritanopia #00769c ≈ 0.0001% of males
Protanomaly #005eff ≈ 1.08% of males
Deuteranomaly #0055fa ≈ 4.63% of males
Tritanomaly #3b65ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#6540fc  rgb(101, 64, 252)  hsl(252, 97%, 62%)  Majorelle Blue
#d7fc40  rgb(215, 252, 64)  hsl(72, 97%, 62%)  Electric Lime
#fc6540  rgb(252, 101, 64)  hsl(12, 97%, 62%)  Tomato
#40fc65  rgb(64, 252, 101)  hsl(132, 97%, 62%)  Spring Green