#6504E4

#6504e4 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#6504e4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.61% red, 1.57% green and 89.41% blue; printed in CMYK it uses 55.7% cyan, 98.25% magenta, 0% yellow and 10.59% black. Its hue angle is 265.98°, with 96.55% saturation and 45.49% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.8:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.33.

Description generated from the measured properties of this color.

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

Readable text 7.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5a40a2 ≈ 0.001% of males
Protanopia #0056e9 ≈ 1.01% of males
Deuteranopia #004de1 ≈ 1.27% of males
Tritanopia #2b5b86 ≈ 0.0001% of males
Protanomaly #0043e7 ≈ 1.08% of males
Deuteranomaly #003ce2 ≈ 4.63% of males
Tritanomaly #4947b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6504e4 {
  color: #6504e4;
}
Background
.bg-6504e4 {
  background-color: #6504e4;
  color: #ffffff;
}
Border
.border-6504e4 {
  border: 2px solid #6504e4;
}
CSS variables
:root {
  --color-primary: #6504e4;
  --color-primary-rgb: 101 4 228;
  --color-primary-hsl: 266 97% 45%;
}
Gradient
.gradient-6504e4 {
  background: linear-gradient(135deg, #6504e4, #d504e4);
}
Colored shadow
.shadow-6504e4 {
  box-shadow: 0 8px 24px rgb(101 4 228 / 0.35);
}

Han Purple
#6504e4  rgb(101, 4, 228)  hsl(266, 97%, 45%)  Han Purple
#83e404  rgb(131, 228, 4)  hsl(86, 97%, 45%)  Lawn Green
#e46504  rgb(228, 101, 4)  hsl(26, 97%, 45%)  Chocolate
#04e465  rgb(4, 228, 101)  hsl(146, 97%, 45%)  Malachite