#6342EC

#6342ec ≈ Majorelle Blue

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

#6342ec is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 38.82% red, 25.88% green and 92.55% blue; printed in CMYK it uses 58.05% cyan, 72.03% magenta, 0% yellow and 7.45% black. Its hue angle is 251.65°, with 81.73% saturation and 59.22% 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.96:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.68.

Description generated from the measured properties of this color.

Conversions of #6342ec 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.1261

Readable text 5.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6358ac ≈ 0.001% of males
Protanopia #0069f1 ≈ 1.01% of males
Deuteranopia #005ee9 ≈ 1.27% of males
Tritanopia #087193 ≈ 0.0001% of males
Protanomaly #005cef ≈ 1.08% of males
Deuteranomaly #0054ea ≈ 4.63% of males
Tritanomaly #4061bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6342ec {
  color: #6342ec;
}
Background
.bg-6342ec {
  background-color: #6342ec;
  color: #ffffff;
}
Border
.border-6342ec {
  border: 2px solid #6342ec;
}
CSS variables
:root {
  --color-primary: #6342ec;
  --color-primary-rgb: 99 66 236;
  --color-primary-hsl: 252 82% 59%;
}
Gradient
.gradient-6342ec {
  background: linear-gradient(135deg, #6342ec, #b842ec);
}
Colored shadow
.shadow-6342ec {
  box-shadow: 0 8px 24px rgb(99 66 236 / 0.35);
}

Majorelle Blue
#6342ec  rgb(99, 66, 236)  hsl(252, 82%, 59%)  Majorelle Blue
#cbec42  rgb(203, 236, 66)  hsl(72, 82%, 59%)  Pear
#ec6342  rgb(236, 99, 66)  hsl(12, 82%, 59%)  Tomato
#42ec63  rgb(66, 236, 99)  hsl(132, 82%, 59%)  Malachite