#6B5A9E

#6b5a9e ≈ Royal Purple

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#6b5a9e is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 41.96% red, 35.29% green and 61.96% blue; printed in CMYK it uses 32.28% cyan, 43.04% magenta, 0% yellow and 38.04% black. Its hue angle is 255°, with 27.42% saturation and 48.63% 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.86:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.95.

Description generated from the measured properties of this color.

Conversions of #6b5a9e 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.1291

Readable text 5.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.58:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #676180 ≈ 0.001% of males
Protanopia #4565a1 ≈ 1.01% of males
Deuteranopia #48649c ≈ 1.27% of males
Tritanopia #5f6674 ≈ 0.0001% of males
Protanomaly #5761a0 ≈ 1.08% of males
Deuteranomaly #58609d ≈ 4.63% of males
Tritanomaly #646287 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6b5a9e {
  color: #6b5a9e;
}
Background
.bg-6b5a9e {
  background-color: #6b5a9e;
  color: #ffffff;
}
Border
.border-6b5a9e {
  border: 2px solid #6b5a9e;
}
CSS variables
:root {
  --color-primary: #6b5a9e;
  --color-primary-rgb: 107 90 158;
  --color-primary-hsl: 255 27% 49%;
}
Gradient
.gradient-6b5a9e {
  background: linear-gradient(135deg, #6b5a9e, #8d5a9e);
}
Colored shadow
.shadow-6b5a9e {
  box-shadow: 0 8px 24px rgb(107 90 158 / 0.35);
}

Royal Purple
#6b5a9e  rgb(107, 90, 158)  hsl(255, 27%, 49%)  Royal Purple
#8d9e5a  rgb(141, 158, 90)  hsl(75, 27%, 49%)  Moss Green
#9e6b5a  rgb(158, 107, 90)  hsl(15, 27%, 49%)  Redwood
#5a9e6b  rgb(90, 158, 107)  hsl(135, 27%, 49%)  Shamrock Green