#6A51FF

#6a51ff ≈ Majorelle Blue

  • blue
  • Lightness: high
  • Saturation: strong
  • Cool

#6a51ff is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 41.57% red, 31.76% green and 100% blue; printed in CMYK it uses 58.43% cyan, 68.24% magenta, 0% yellow and 0% black. Its hue angle is 248.62°, with 100% saturation and 65.88% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 4.96:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.92.

Description generated from the measured properties of this color.

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

Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #6e65bb ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #006afc ≈ 1.27% of males
Tritanopia #007fa2 ≈ 0.0001% of males
Protanomaly #0069ff ≈ 1.08% of males
Deuteranomaly #0061fd ≈ 4.63% of males
Tritanomaly #4270ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#6a51ff  rgb(106, 81, 255)  hsl(249, 100%, 66%)  Majorelle Blue
#e6ff51  rgb(230, 255, 81)  hsl(69, 100%, 66%)  Chartreuse Yellow
#ff6a51  rgb(255, 106, 81)  hsl(9, 100%, 66%)  Tomato
#51ff6a  rgb(81, 255, 106)  hsl(129, 100%, 66%)  Spring Green