#6C4FB8

#6c4fb8 ≈ Royal Purple

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

#6c4fb8 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.98% green and 72.16% blue; printed in CMYK it uses 41.3% cyan, 57.07% magenta, 0% yellow and 27.84% black. Its hue angle is 256.57°, with 42.51% saturation and 51.57% 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.09:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.26.

Description generated from the measured properties of this color.

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

Readable text 6.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #665b8d ≈ 0.001% of males
Protanopia #1464bb ≈ 1.01% of males
Deuteranopia #1e60b6 ≈ 1.27% of males
Tritanopia #58667c ≈ 0.0001% of males
Protanomaly #485cba ≈ 1.08% of males
Deuteranomaly #4a5ab7 ≈ 4.63% of males
Tritanomaly #605d98 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6c4fb8 {
  color: #6c4fb8;
}
Background
.bg-6c4fb8 {
  background-color: #6c4fb8;
  color: #ffffff;
}
Border
.border-6c4fb8 {
  border: 2px solid #6c4fb8;
}
CSS variables
:root {
  --color-primary: #6c4fb8;
  --color-primary-rgb: 108 79 184;
  --color-primary-hsl: 257 43% 52%;
}
Gradient
.gradient-6c4fb8 {
  background: linear-gradient(135deg, #6c4fb8, #a14fb8);
}
Colored shadow
.shadow-6c4fb8 {
  box-shadow: 0 8px 24px rgb(108 79 184 / 0.35);
}

Royal Purple
#6c4fb8  rgb(108, 79, 184)  hsl(257, 43%, 52%)  Royal Purple
#9bb84f  rgb(155, 184, 79)  hsl(77, 43%, 52%)  Apple Green
#b86c4f  rgb(184, 108, 79)  hsl(17, 43%, 52%)  Cafe au Lait
#4fb86c  rgb(79, 184, 108)  hsl(137, 43%, 52%)  Medium Sea Green