#4E31F2

#4e31f2 ≈ Han Purple

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

#4e31f2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 19.22% green and 94.9% blue; printed in CMYK it uses 67.77% cyan, 79.75% magenta, 0% yellow and 5.1% black. Its hue angle is 249.02°, with 88.13% saturation and 57.06% 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 6.9:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.88.

Description generated from the measured properties of this color.

Conversions of #4e31f2 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.1023

Readable text 6.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #554dad ≈ 0.001% of males
Protanopia #0062f7 ≈ 1.01% of males
Deuteranopia #0052ef ≈ 1.27% of males
Tritanopia #006d93 ≈ 0.0001% of males
Protanomaly #0052f5 ≈ 1.08% of males
Deuteranomaly #0047f0 ≈ 4.63% of males
Tritanomaly #005bc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e31f2  rgb(78, 49, 242)  hsl(249, 88%, 57%)  Han Purple
#d5f231  rgb(213, 242, 49)  hsl(69, 88%, 57%)  Chartreuse Yellow
#f24e31  rgb(242, 78, 49)  hsl(9, 88%, 57%)  Ferrari Red
#31f24e  rgb(49, 242, 78)  hsl(129, 88%, 57%)  Lime