#6B4E9C

#6b4e9c ≈ Royal Purple

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

#6b4e9c is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 41.96% red, 30.59% green and 61.18% blue; printed in CMYK it uses 31.41% cyan, 50% magenta, 0% yellow and 38.82% black. Its hue angle is 262.31°, with 33.33% saturation and 45.88% 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.57:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.23.

Description generated from the measured properties of this color.

Conversions of #6b4e9c 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.1097

Readable text 6.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #63577b ≈ 0.001% of males
Protanopia #345d9f ≈ 1.01% of males
Deuteranopia #3b5c9a ≈ 1.27% of males
Tritanopia #615d6d ≈ 0.0001% of males
Protanomaly #50579e ≈ 1.08% of males
Deuteranomaly #52579b ≈ 4.63% of males
Tritanomaly #655783 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6b4e9c {
  color: #6b4e9c;
}
Background
.bg-6b4e9c {
  background-color: #6b4e9c;
  color: #ffffff;
}
Border
.border-6b4e9c {
  border: 2px solid #6b4e9c;
}
CSS variables
:root {
  --color-primary: #6b4e9c;
  --color-primary-rgb: 107 78 156;
  --color-primary-hsl: 262 33% 46%;
}
Gradient
.gradient-6b4e9c {
  background: linear-gradient(135deg, #6b4e9c, #924e9c);
}
Colored shadow
.shadow-6b4e9c {
  box-shadow: 0 8px 24px rgb(107 78 156 / 0.35);
}

Royal Purple
#6b4e9c  rgb(107, 78, 156)  hsl(262, 33%, 46%)  Royal Purple
#7f9c4e  rgb(127, 156, 78)  hsl(82, 33%, 46%)  Moss Green
#9c6b4e  rgb(156, 107, 78)  hsl(22, 33%, 46%)  Cafe au Lait
#4e9c6b  rgb(78, 156, 107)  hsl(142, 33%, 46%)  Shamrock Green