#5331EA

#5331ea ≈ Han Purple

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

#5331ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.55% red, 19.22% green and 91.76% blue; printed in CMYK it uses 64.53% cyan, 79.06% magenta, 0% yellow and 8.24% black. Its hue angle is 251.03°, with 81.5% saturation and 55.49% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.01:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.98.

Description generated from the measured properties of this color.

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

Readable text 7.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #574ca7 ≈ 0.001% of males
Protanopia #005fef ≈ 1.01% of males
Deuteranopia #0052e7 ≈ 1.27% of males
Tritanopia #006a8e ≈ 0.0001% of males
Protanomaly #0051ed ≈ 1.08% of males
Deuteranomaly #0047e8 ≈ 4.63% of males
Tritanomaly #1a58ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5331ea {
  color: #5331ea;
}
Background
.bg-5331ea {
  background-color: #5331ea;
  color: #ffffff;
}
Border
.border-5331ea {
  border: 2px solid #5331ea;
}
CSS variables
:root {
  --color-primary: #5331ea;
  --color-primary-rgb: 83 49 234;
  --color-primary-hsl: 251 82% 55%;
}
Gradient
.gradient-5331ea {
  background: linear-gradient(135deg, #5331ea, #b031ea);
}
Colored shadow
.shadow-5331ea {
  box-shadow: 0 8px 24px rgb(83 49 234 / 0.35);
}

Han Purple
#5331ea  rgb(83, 49, 234)  hsl(251, 82%, 55%)  Han Purple
#c8ea31  rgb(200, 234, 49)  hsl(71, 82%, 55%)  Pear
#ea5331  rgb(234, 83, 49)  hsl(11, 82%, 55%)  Flame
#31ea53  rgb(49, 234, 83)  hsl(131, 82%, 55%)  Malachite