#4E31FB

#4e31fb ≈ Han Purple

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

#4e31fb 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 98.43% blue; printed in CMYK it uses 68.92% cyan, 80.48% magenta, 0% yellow and 1.57% black. Its hue angle is 248.61°, with 96.19% saturation and 58.82% 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.65:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.12.

Description generated from the measured properties of this color.

Conversions of #4e31fb 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.1078

Readable text 6.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #574eb3 ≈ 0.001% of males
Protanopia #0064ff ≈ 1.01% of males
Deuteranopia #0054f8 ≈ 1.27% of males
Tritanopia #007198 ≈ 0.0001% of males
Protanomaly #0054fe ≈ 1.08% of males
Deuteranomaly #0048f9 ≈ 4.63% of males
Tritanomaly #005ec8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#4e31fb  rgb(78, 49, 251)  hsl(249, 96%, 59%)  Han Purple
#defb31  rgb(222, 251, 49)  hsl(69, 96%, 59%)  Chartreuse Yellow
#fb4e31  rgb(251, 78, 49)  hsl(9, 96%, 59%)  Tomato
#31fb4e  rgb(49, 251, 78)  hsl(129, 96%, 59%)  Lime