#6F40AD

#6f40ad ≈ Purple Heart

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

#6f40ad is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 43.53% red, 25.1% green and 67.84% blue; printed in CMYK it uses 35.84% cyan, 63.01% magenta, 0% yellow and 32.16% black. Its hue angle is 265.87°, with 45.99% saturation and 46.47% 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.97:1 (WCAG AA). The closest named color is Purple Heart (#69359c), ΔE 3.78.

Description generated from the measured properties of this color.

Conversions of #6f40ad 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.1006

Readable text 6.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #635083 ≈ 0.001% of males
Protanopia #0059b0 ≈ 1.01% of males
Deuteranopia #1559ab ≈ 1.27% of males
Tritanopia #625870 ≈ 0.0001% of males
Protanomaly #4550af ≈ 1.08% of males
Deuteranomaly #4a50ac ≈ 4.63% of males
Tritanomaly #674f8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6f40ad {
  color: #6f40ad;
}
Background
.bg-6f40ad {
  background-color: #6f40ad;
  color: #ffffff;
}
Border
.border-6f40ad {
  border: 2px solid #6f40ad;
}
CSS variables
:root {
  --color-primary: #6f40ad;
  --color-primary-rgb: 111 64 173;
  --color-primary-hsl: 266 46% 46%;
}
Gradient
.gradient-6f40ad {
  background: linear-gradient(135deg, #6f40ad, #a540ad);
}
Colored shadow
.shadow-6f40ad {
  box-shadow: 0 8px 24px rgb(111 64 173 / 0.35);
}

Purple Heart
#6f40ad  rgb(111, 64, 173)  hsl(266, 46%, 46%)  Purple Heart
#7ead40  rgb(126, 173, 64)  hsl(86, 46%, 46%)  Apple Green
#ad6f40  rgb(173, 111, 64)  hsl(26, 46%, 46%)  Copper
#40ad6f  rgb(64, 173, 111)  hsl(146, 46%, 46%)  Medium Sea Green