#332AED

#332aed ≈ Han Purple

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#332aed is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 16.47% green and 92.94% blue; printed in CMYK it uses 78.48% cyan, 82.28% magenta, 0% yellow and 7.06% black. Its hue angle is 242.77°, with 84.42% saturation and 54.71% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 7.79:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.39.

Description generated from the measured properties of this color.

Conversions of #332aed into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0847

Readable text 7.79: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 #4845a8 ≈ 0.001% of males
Protanopia #005cf2 ≈ 1.01% of males
Deuteranopia #0048ea ≈ 1.27% of males
Tritanopia #006a8f ≈ 0.0001% of males
Protanomaly #004cf0 ≈ 1.08% of males
Deuteranomaly #003eeb ≈ 4.63% of males
Tritanomaly #0057bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-332aed {
  color: #332aed;
}
Background
.bg-332aed {
  background-color: #332aed;
  color: #ffffff;
}
Border
.border-332aed {
  border: 2px solid #332aed;
}
CSS variables
:root {
  --color-primary: #332aed;
  --color-primary-rgb: 51 42 237;
  --color-primary-hsl: 243 84% 55%;
}
Gradient
.gradient-332aed {
  background: linear-gradient(135deg, #332aed, #952aed);
}
Colored shadow
.shadow-332aed {
  box-shadow: 0 8px 24px rgb(51 42 237 / 0.35);
}

Han Purple
#332aed  rgb(51, 42, 237)  hsl(243, 84%, 55%)  Han Purple
#e4ed2a  rgb(228, 237, 42)  hsl(63, 84%, 55%)  Pear
#ed332a  rgb(237, 51, 42)  hsl(3, 84%, 55%)  Cinnabar
#2aed33  rgb(42, 237, 51)  hsl(123, 84%, 55%)  Lime