#6A42EB

#6a42eb ≈ Majorelle Blue

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

#6a42eb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 41.57% red, 25.88% green and 92.16% blue; printed in CMYK it uses 54.89% cyan, 71.91% magenta, 0% yellow and 7.84% black. Its hue angle is 254.2°, with 80.86% saturation and 59.02% 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.85:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.9.

Description generated from the measured properties of this color.

Conversions of #6a42eb 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.1296

Readable text 5.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.59:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #6759ac ≈ 0.001% of males
Protanopia #0069f0 ≈ 1.01% of males
Deuteranopia #0060e8 ≈ 1.27% of males
Tritanopia #2f7093 ≈ 0.0001% of males
Protanomaly #0a5cee ≈ 1.08% of males
Deuteranomaly #0d55e9 ≈ 4.63% of males
Tritanomaly #4d61bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6a42eb {
  color: #6a42eb;
}
Background
.bg-6a42eb {
  background-color: #6a42eb;
  color: #ffffff;
}
Border
.border-6a42eb {
  border: 2px solid #6a42eb;
}
CSS variables
:root {
  --color-primary: #6a42eb;
  --color-primary-rgb: 106 66 235;
  --color-primary-hsl: 254 81% 59%;
}
Gradient
.gradient-6a42eb {
  background: linear-gradient(135deg, #6a42eb, #be42eb);
}
Colored shadow
.shadow-6a42eb {
  box-shadow: 0 8px 24px rgb(106 66 235 / 0.35);
}

Majorelle Blue
#6a42eb  rgb(106, 66, 235)  hsl(254, 81%, 59%)  Majorelle Blue
#c3eb42  rgb(195, 235, 66)  hsl(74, 81%, 59%)  Inchworm
#eb6a42  rgb(235, 106, 66)  hsl(14, 81%, 59%)  Burnt Sienna
#42eb6a  rgb(66, 235, 106)  hsl(134, 81%, 59%)  Malachite