#4E04F0

#4e04f0 ≈ Ultramarine

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

#4e04f0 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 1.57% green and 94.12% blue; printed in CMYK it uses 67.5% cyan, 98.33% magenta, 0% yellow and 5.88% black. Its hue angle is 258.81°, with 96.72% saturation and 47.84% 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 1.66.

Description generated from the measured properties of this color.

Conversions of #4e04f0 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.08

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 #4f3ea9 ≈ 0.001% of males
Protanopia #0057f5 ≈ 1.01% of males
Deuteranopia #0047ed ≈ 1.27% of males
Tritanopia #00638d ≈ 0.0001% of males
Protanomaly #0044f3 ≈ 1.08% of males
Deuteranomaly #0037ee ≈ 4.63% of males
Tritanomaly #004dbd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e04f0 {
  color: #4e04f0;
}
Background
.bg-4e04f0 {
  background-color: #4e04f0;
  color: #ffffff;
}
Border
.border-4e04f0 {
  border: 2px solid #4e04f0;
}
CSS variables
:root {
  --color-primary: #4e04f0;
  --color-primary-rgb: 78 4 240;
  --color-primary-hsl: 259 97% 48%;
}
Gradient
.gradient-4e04f0 {
  background: linear-gradient(135deg, #4e04f0, #c404f0);
}
Colored shadow
.shadow-4e04f0 {
  box-shadow: 0 8px 24px rgb(78 4 240 / 0.35);
}

Ultramarine
#4e04f0  rgb(78, 4, 240)  hsl(259, 97%, 48%)  Ultramarine
#a6f004  rgb(166, 240, 4)  hsl(79, 97%, 48%)  Spring Bud
#f04e04  rgb(240, 78, 4)  hsl(19, 97%, 48%)  Tangelo
#04f04e  rgb(4, 240, 78)  hsl(139, 97%, 48%)  Malachite