#6A42E9

#6a42e9 ≈ Majorelle Blue

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

#6a42e9 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 91.37% blue; printed in CMYK it uses 54.51% cyan, 71.67% magenta, 0% yellow and 8.63% black. Its hue angle is 254.37°, with 79.15% saturation and 58.63% 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 brand accents. White text on this color reaches a contrast ratio of 5.88:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.84.

Description generated from the measured properties of this color.

Conversions of #6a42e9 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.1284

Readable text 5.88:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.57:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #6759aa ≈ 0.001% of males
Protanopia #0069ee ≈ 1.01% of males
Deuteranopia #005fe6 ≈ 1.27% of males
Tritanopia #316f92 ≈ 0.0001% of males
Protanomaly #105cec ≈ 1.08% of males
Deuteranomaly #1255e7 ≈ 4.63% of males
Tritanomaly #4e60bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#6a42e9  rgb(106, 66, 233)  hsl(254, 79%, 59%)  Majorelle Blue
#c1e942  rgb(193, 233, 66)  hsl(74, 79%, 59%)  June Bud
#e96a42  rgb(233, 106, 66)  hsl(14, 79%, 59%)  Burnt Sienna
#42e96a  rgb(66, 233, 106)  hsl(134, 79%, 59%)  Malachite