#662EB2

#662eb2 ≈ Purple Heart

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

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

Description generated from the measured properties of this color.

Conversions of #662eb2 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.0799

Readable text 8.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #5a4583 ≈ 0.001% of males
Protanopia #0050b6 ≈ 1.01% of males
Deuteranopia #004eaf ≈ 1.27% of males
Tritanopia #52506e ≈ 0.0001% of males
Protanomaly #2e45b4 ≈ 1.08% of males
Deuteranomaly #3543b0 ≈ 4.63% of males
Tritanomaly #5b458e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Purple Heart
#662eb2  rgb(102, 46, 178)  hsl(265, 59%, 44%)  Purple Heart
#7ab22e  rgb(122, 178, 46)  hsl(85, 59%, 44%)  Apple Green
#b2662e  rgb(178, 102, 46)  hsl(25, 59%, 44%)  Copper
#2eb266  rgb(46, 178, 102)  hsl(145, 59%, 44%)  Medium Sea Green