#4E31EB

#4e31eb ≈ Han Purple

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#4e31eb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 19.22% green and 92.16% blue; printed in CMYK it uses 66.81% cyan, 79.15% magenta, 0% yellow and 7.84% black. Its hue angle is 249.35°, with 82.3% saturation and 55.69% 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.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.

Description generated from the measured properties of this color.

Conversions of #4e31eb 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.0981

Readable text 7.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #544ba8 ≈ 0.001% of males
Protanopia #005ff0 ≈ 1.01% of males
Deuteranopia #0051e8 ≈ 1.27% of males
Tritanopia #006a8f ≈ 0.0001% of males
Protanomaly #0051ee ≈ 1.08% of males
Deuteranomaly #0046e9 ≈ 4.63% of males
Tritanomaly #0059bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e31eb {
  color: #4e31eb;
}
Background
.bg-4e31eb {
  background-color: #4e31eb;
  color: #ffffff;
}
Border
.border-4e31eb {
  border: 2px solid #4e31eb;
}
CSS variables
:root {
  --color-primary: #4e31eb;
  --color-primary-rgb: 78 49 235;
  --color-primary-hsl: 249 82% 56%;
}
Gradient
.gradient-4e31eb {
  background: linear-gradient(135deg, #4e31eb, #ab31eb);
}
Colored shadow
.shadow-4e31eb {
  box-shadow: 0 8px 24px rgb(78 49 235 / 0.35);
}

Han Purple
#4e31eb  rgb(78, 49, 235)  hsl(249, 82%, 56%)  Han Purple
#ceeb31  rgb(206, 235, 49)  hsl(69, 82%, 56%)  Pear
#eb4e31  rgb(235, 78, 49)  hsl(9, 82%, 56%)  Cinnabar
#31eb4e  rgb(49, 235, 78)  hsl(129, 82%, 56%)  Malachite