#5222E1

#5222e1 ≈ Han Purple

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

#5222e1 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.16% red, 13.33% green and 88.24% blue; printed in CMYK it uses 63.56% cyan, 84.89% magenta, 0% yellow and 11.76% black. Its hue angle is 255.08°, with 76.1% saturation and 50.78% 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 7.85:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.76.

Description generated from the measured properties of this color.

Conversions of #5222e1 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0837

Readable text 7.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5243a0 ≈ 0.001% of males
Protanopia #0058e6 ≈ 1.01% of males
Deuteranopia #004bde ≈ 1.27% of males
Tritanopia #006186 ≈ 0.0001% of males
Protanomaly #0048e4 ≈ 1.08% of males
Deuteranomaly #003edf ≈ 4.63% of males
Tritanomaly #224fb2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5222e1 {
  color: #5222e1;
}
Background
.bg-5222e1 {
  background-color: #5222e1;
  color: #ffffff;
}
Border
.border-5222e1 {
  border: 2px solid #5222e1;
}
CSS variables
:root {
  --color-primary: #5222e1;
  --color-primary-rgb: 82 34 225;
  --color-primary-hsl: 255 76% 51%;
}
Gradient
.gradient-5222e1 {
  background: linear-gradient(135deg, #5222e1, #b222e1);
}
Colored shadow
.shadow-5222e1 {
  box-shadow: 0 8px 24px rgb(82 34 225 / 0.35);
}

Han Purple
#5222e1  rgb(82, 34, 225)  hsl(255, 76%, 51%)  Han Purple
#b1e122  rgb(177, 225, 34)  hsl(75, 76%, 51%)  June Bud
#e15222  rgb(225, 82, 34)  hsl(15, 76%, 51%)  Flame
#22e152  rgb(34, 225, 82)  hsl(135, 76%, 51%)  Malachite