#4D31EA

#4d31ea ≈ Han Purple

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

#4d31ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 30.2% red, 19.22% green and 91.76% blue; printed in CMYK it uses 67.09% cyan, 79.06% magenta, 0% yellow and 8.24% black. Its hue angle is 249.08°, with 81.5% saturation and 55.49% 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.14:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.05.

Description generated from the measured properties of this color.

Conversions of #4d31ea 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.0971

Readable text 7.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #544ba7 ≈ 0.001% of males
Protanopia #005fef ≈ 1.01% of males
Deuteranopia #0050e7 ≈ 1.27% of males
Tritanopia #006a8e ≈ 0.0001% of males
Protanomaly #0050ed ≈ 1.08% of males
Deuteranomaly #0046e8 ≈ 4.63% of males
Tritanomaly #0059ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4d31ea  rgb(77, 49, 234)  hsl(249, 82%, 55%)  Han Purple
#ceea31  rgb(206, 234, 49)  hsl(69, 82%, 55%)  Pear
#ea4d31  rgb(234, 77, 49)  hsl(9, 82%, 55%)  Cinnabar
#31ea4d  rgb(49, 234, 77)  hsl(129, 82%, 55%)  Malachite