#6D42E2

#6d42e2 ≈ Majorelle Blue

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

#6d42e2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 42.75% red, 25.88% green and 88.63% blue; printed in CMYK it uses 51.77% cyan, 70.8% magenta, 0% yellow and 11.37% black. Its hue angle is 256.13°, with 73.39% saturation and 57.25% 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.95:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.92.

Description generated from the measured properties of this color.

Conversions of #6d42e2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1264

Readable text 5.95:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.53:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #6758a6 ≈ 0.001% of males
Protanopia #0067e7 ≈ 1.01% of males
Deuteranopia #005fdf ≈ 1.27% of males
Tritanopia #406c8e ≈ 0.0001% of males
Protanomaly #225ae5 ≈ 1.08% of males
Deuteranomaly #2655e0 ≈ 4.63% of males
Tritanomaly #565eb6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6d42e2 {
  color: #6d42e2;
}
Background
.bg-6d42e2 {
  background-color: #6d42e2;
  color: #ffffff;
}
Border
.border-6d42e2 {
  border: 2px solid #6d42e2;
}
CSS variables
:root {
  --color-primary: #6d42e2;
  --color-primary-rgb: 109 66 226;
  --color-primary-hsl: 256 73% 57%;
}
Gradient
.gradient-6d42e2 {
  background: linear-gradient(135deg, #6d42e2, #bd42e2);
}
Colored shadow
.shadow-6d42e2 {
  box-shadow: 0 8px 24px rgb(109 66 226 / 0.35);
}

Majorelle Blue
#6d42e2  rgb(109, 66, 226)  hsl(256, 73%, 57%)  Majorelle Blue
#b7e242  rgb(183, 226, 66)  hsl(76, 73%, 57%)  June Bud
#e26d42  rgb(226, 109, 66)  hsl(16, 73%, 57%)  Burnt Sienna
#42e26d  rgb(66, 226, 109)  hsl(136, 73%, 57%)  Malachite