#6C4EB2

#6c4eb2 ≈ Royal Purple

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

#6c4eb2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 42.35% red, 30.59% green and 69.8% blue; printed in CMYK it uses 39.33% cyan, 56.18% magenta, 0% yellow and 30.2% black. Its hue angle is 258°, with 39.37% saturation and 50.2% 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.23:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.58.

Description generated from the measured properties of this color.

Conversions of #6c4eb2 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.1185

Readable text 6.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #655a89 ≈ 0.001% of males
Protanopia #1c62b5 ≈ 1.01% of males
Deuteranopia #265fb0 ≈ 1.27% of males
Tritanopia #5a6378 ≈ 0.0001% of males
Protanomaly #495ab4 ≈ 1.08% of males
Deuteranomaly #4c59b1 ≈ 4.63% of males
Tritanomaly #625b93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6c4eb2 {
  color: #6c4eb2;
}
Background
.bg-6c4eb2 {
  background-color: #6c4eb2;
  color: #ffffff;
}
Border
.border-6c4eb2 {
  border: 2px solid #6c4eb2;
}
CSS variables
:root {
  --color-primary: #6c4eb2;
  --color-primary-rgb: 108 78 178;
  --color-primary-hsl: 258 39% 50%;
}
Gradient
.gradient-6c4eb2 {
  background: linear-gradient(135deg, #6c4eb2, #9e4eb2);
}
Colored shadow
.shadow-6c4eb2 {
  box-shadow: 0 8px 24px rgb(108 78 178 / 0.35);
}

Royal Purple
#6c4eb2  rgb(108, 78, 178)  hsl(258, 39%, 50%)  Royal Purple
#94b24e  rgb(148, 178, 78)  hsl(78, 39%, 50%)  Olivine
#b26c4e  rgb(178, 108, 78)  hsl(18, 39%, 50%)  Cafe au Lait
#4eb26c  rgb(78, 178, 108)  hsl(138, 39%, 50%)  Medium Sea Green