#4E12EA

#4e12ea ≈ Ultramarine

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#4e12ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 7.06% green and 91.76% blue; printed in CMYK it uses 66.67% cyan, 92.31% magenta, 0% yellow and 8.24% black. Its hue angle is 256.67°, with 85.71% saturation and 49.41% 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 8.08:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.16.

Description generated from the measured properties of this color.

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

Readable text 8.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4f3fa5 ≈ 0.001% of males
Protanopia #0057ef ≈ 1.01% of males
Deuteranopia #0048e7 ≈ 1.27% of males
Tritanopia #00628a ≈ 0.0001% of males
Protanomaly #0045ed ≈ 1.08% of males
Deuteranomaly #0039e8 ≈ 4.63% of males
Tritanomaly #004db8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e12ea {
  color: #4e12ea;
}
Background
.bg-4e12ea {
  background-color: #4e12ea;
  color: #ffffff;
}
Border
.border-4e12ea {
  border: 2px solid #4e12ea;
}
CSS variables
:root {
  --color-primary: #4e12ea;
  --color-primary-rgb: 78 18 234;
  --color-primary-hsl: 257 86% 49%;
}
Gradient
.gradient-4e12ea {
  background: linear-gradient(135deg, #4e12ea, #ba12ea);
}
Colored shadow
.shadow-4e12ea {
  box-shadow: 0 8px 24px rgb(78 18 234 / 0.35);
}

Ultramarine
#4e12ea  rgb(78, 18, 234)  hsl(257, 86%, 49%)  Ultramarine
#aeea12  rgb(174, 234, 18)  hsl(77, 86%, 49%)  Spring Bud
#ea4e12  rgb(234, 78, 18)  hsl(17, 86%, 49%)  Flame
#12ea4e  rgb(18, 234, 78)  hsl(137, 86%, 49%)  Malachite