#6A5EAA

#6a5eaa ≈ Royal Purple

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#6a5eaa is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 41.57% red, 36.86% green and 66.67% blue; printed in CMYK it uses 37.65% cyan, 44.71% magenta, 0% yellow and 33.33% black. Its hue angle is 249.47°, with 30.89% saturation and 51.76% 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 brand accents. White text on this color reaches a contrast ratio of 5.53:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.82.

Description generated from the measured properties of this color.

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

Readable text 5.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.79:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #696488 ≈ 0.001% of males
Protanopia #446aad ≈ 1.01% of males
Deuteranopia #4467a8 ≈ 1.27% of males
Tritanopia #596d7c ≈ 0.0001% of males
Protanomaly #5665ac ≈ 1.08% of males
Deuteranomaly #5663a9 ≈ 4.63% of males
Tritanomaly #606790 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6a5eaa {
  color: #6a5eaa;
}
Background
.bg-6a5eaa {
  background-color: #6a5eaa;
  color: #ffffff;
}
Border
.border-6a5eaa {
  border: 2px solid #6a5eaa;
}
CSS variables
:root {
  --color-primary: #6a5eaa;
  --color-primary-rgb: 106 94 170;
  --color-primary-hsl: 249 31% 52%;
}
Gradient
.gradient-6a5eaa {
  background: linear-gradient(135deg, #6a5eaa, #905eaa);
}
Colored shadow
.shadow-6a5eaa {
  box-shadow: 0 8px 24px rgb(106 94 170 / 0.35);
}

Royal Purple
#6a5eaa  rgb(106, 94, 170)  hsl(249, 31%, 52%)  Royal Purple
#9eaa5e  rgb(158, 170, 94)  hsl(69, 31%, 52%)  Moss Green
#aa6a5e  rgb(170, 106, 94)  hsl(9, 31%, 52%)  Redwood
#5eaa6a  rgb(94, 170, 106)  hsl(129, 31%, 52%)  Medium Sea Green