#6A5C87

#6a5c87 ≈ Royal Purple

  • violet
  • Lightness: medium
  • Saturation: muted
  • Cool

#6a5c87 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 41.57% red, 36.08% green and 52.94% blue; printed in CMYK it uses 21.48% cyan, 31.85% magenta, 0% yellow and 47.06% black. Its hue angle is 259.53°, with 18.94% saturation and 44.51% 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 6.01:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 9.63.

Description generated from the measured properties of this color.

Conversions of #6a5c87 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.1247

Readable text 6.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #666073 ≈ 0.001% of males
Protanopia #526389 ≈ 1.01% of males
Deuteranopia #556386 ≈ 1.27% of males
Tritanopia #65636b ≈ 0.0001% of males
Protanomaly #5d6088 ≈ 1.08% of males
Deuteranomaly #5e6086 ≈ 4.63% of males
Tritanomaly #676077 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6a5c87 {
  color: #6a5c87;
}
Background
.bg-6a5c87 {
  background-color: #6a5c87;
  color: #ffffff;
}
Border
.border-6a5c87 {
  border: 2px solid #6a5c87;
}
CSS variables
:root {
  --color-primary: #6a5c87;
  --color-primary-rgb: 106 92 135;
  --color-primary-hsl: 260 19% 45%;
}
Gradient
.gradient-6a5c87 {
  background: linear-gradient(135deg, #6a5c87, #7f5c87);
}
Colored shadow
.shadow-6a5c87 {
  box-shadow: 0 8px 24px rgb(106 92 135 / 0.35);
}

Royal Purple
#6a5c87  rgb(106, 92, 135)  hsl(260, 19%, 45%)  Royal Purple
#79875c  rgb(121, 135, 92)  hsl(80, 19%, 45%)  Moss Green
#876a5c  rgb(135, 106, 92)  hsl(20, 19%, 45%)  Raw Umber
#5c876a  rgb(92, 135, 106)  hsl(140, 19%, 45%)  Viridian