#764CB3

#764cb3 ≈ Royal Purple

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

#764cb3 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 46.27% red, 29.8% green and 70.2% blue; printed in CMYK it uses 34.08% cyan, 57.54% magenta, 0% yellow and 29.8% black. Its hue angle is 264.47°, with 40.39% saturation and 50% 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.08:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.56.

Description generated from the measured properties of this color.

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

Readable text 6.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6b5a8a ≈ 0.001% of males
Protanopia #1c62b6 ≈ 1.01% of males
Deuteranopia #2d61b1 ≈ 1.27% of males
Tritanopia #696178 ≈ 0.0001% of males
Protanomaly #505ab5 ≈ 1.08% of males
Deuteranomaly #545ab2 ≈ 4.63% of males
Tritanomaly #6e5993 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-764cb3 {
  color: #764cb3;
}
Background
.bg-764cb3 {
  background-color: #764cb3;
  color: #ffffff;
}
Border
.border-764cb3 {
  border: 2px solid #764cb3;
}
CSS variables
:root {
  --color-primary: #764cb3;
  --color-primary-rgb: 118 76 179;
  --color-primary-hsl: 264 40% 50%;
}
Gradient
.gradient-764cb3 {
  background: linear-gradient(135deg, #764cb3, #aa4cb3);
}
Colored shadow
.shadow-764cb3 {
  box-shadow: 0 8px 24px rgb(118 76 179 / 0.35);
}

Royal Purple
#764cb3  rgb(118, 76, 179)  hsl(264, 40%, 50%)  Royal Purple
#89b34c  rgb(137, 179, 76)  hsl(84, 40%, 50%)  Olivine
#b3764c  rgb(179, 118, 76)  hsl(24, 40%, 50%)  Cafe au Lait
#4cb376  rgb(76, 179, 118)  hsl(144, 40%, 50%)  Medium Sea Green