#662FB2

#662fb2 ≈ Purple Heart

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#662fb2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 40% red, 18.43% green and 69.8% blue; printed in CMYK it uses 42.7% cyan, 73.6% magenta, 0% yellow and 30.2% black. Its hue angle is 265.19°, with 58.22% saturation and 44.12% 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 8.03:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 3.95.

Description generated from the measured properties of this color.

Conversions of #662fb2 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.0807

Readable text 8.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #5a4583 ≈ 0.001% of males
Protanopia #0051b6 ≈ 1.01% of males
Deuteranopia #004faf ≈ 1.27% of males
Tritanopia #52516e ≈ 0.0001% of males
Protanomaly #2f46b4 ≈ 1.08% of males
Deuteranomaly #3544b0 ≈ 4.63% of males
Tritanomaly #5b468e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-662fb2 {
  color: #662fb2;
}
Background
.bg-662fb2 {
  background-color: #662fb2;
  color: #ffffff;
}
Border
.border-662fb2 {
  border: 2px solid #662fb2;
}
CSS variables
:root {
  --color-primary: #662fb2;
  --color-primary-rgb: 102 47 178;
  --color-primary-hsl: 265 58% 44%;
}
Gradient
.gradient-662fb2 {
  background: linear-gradient(135deg, #662fb2, #a82fb2);
}
Colored shadow
.shadow-662fb2 {
  box-shadow: 0 8px 24px rgb(102 47 178 / 0.35);
}

Purple Heart
#662fb2  rgb(102, 47, 178)  hsl(265, 58%, 44%)  Purple Heart
#7bb22f  rgb(123, 178, 47)  hsl(85, 58%, 44%)  Apple Green
#b2662f  rgb(178, 102, 47)  hsl(25, 58%, 44%)  Copper
#2fb266  rgb(47, 178, 102)  hsl(145, 58%, 44%)  Medium Sea Green