#781FA1

#781fa1 ≈ Purple Heart

  • magenta
  • Lightness: low
  • Saturation: strong
  • Cool

#781fa1 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 47.06% red, 12.16% green and 63.14% blue; printed in CMYK it uses 25.47% cyan, 80.75% magenta, 0% yellow and 36.86% black. Its hue angle is 281.08°, with 67.71% saturation and 37.65% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 8.37:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 4.47.

Description generated from the measured properties of this color.

Conversions of #781fa1 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0755

Readable text 8.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #614078 ≈ 0.001% of males
Protanopia #004aa4 ≈ 1.01% of males
Deuteranopia #004f9e ≈ 1.27% of males
Tritanopia #734061 ≈ 0.0001% of males
Protanomaly #443da3 ≈ 1.08% of males
Deuteranomaly #4d419f ≈ 4.63% of males
Tritanomaly #75357f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-781fa1 {
  color: #781fa1;
}
Background
.bg-781fa1 {
  background-color: #781fa1;
  color: #ffffff;
}
Border
.border-781fa1 {
  border: 2px solid #781fa1;
}
CSS variables
:root {
  --color-primary: #781fa1;
  --color-primary-rgb: 120 31 161;
  --color-primary-hsl: 281 68% 38%;
}
Gradient
.gradient-781fa1 {
  background: linear-gradient(135deg, #781fa1, #a11f89);
}
Colored shadow
.shadow-781fa1 {
  box-shadow: 0 8px 24px rgb(120 31 161 / 0.35);
}

Purple Heart
#781fa1  rgb(120, 31, 161)  hsl(281, 68%, 38%)  Purple Heart
#48a11f  rgb(72, 161, 31)  hsl(101, 68%, 38%)  Islamic Green
#a1781f  rgb(161, 120, 31)  hsl(41, 68%, 38%)  Dark Goldenrod
#1fa178  rgb(31, 161, 120)  hsl(161, 68%, 38%)  Jungle Green