#4802FA

#4802fa ≈ Ultramarine

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

#4802fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 28.24% red, 0.78% green and 98.04% blue; printed in CMYK it uses 71.2% cyan, 99.2% magenta, 0% yellow and 1.96% black. Its hue angle is 256.94°, with 98.41% 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 7.88:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.67.

Description generated from the measured properties of this color.

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

Readable text 7.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4e3fb0 ≈ 0.001% of males
Protanopia #005aff ≈ 1.01% of males
Deuteranopia #0047f6 ≈ 1.27% of males
Tritanopia #006793 ≈ 0.0001% of males
Protanomaly #0046fd ≈ 1.08% of males
Deuteranomaly #0037f8 ≈ 4.63% of males
Tritanomaly #0051c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4802fa {
  color: #4802fa;
}
Background
.bg-4802fa {
  background-color: #4802fa;
  color: #ffffff;
}
Border
.border-4802fa {
  border: 2px solid #4802fa;
}
CSS variables
:root {
  --color-primary: #4802fa;
  --color-primary-rgb: 72 2 250;
  --color-primary-hsl: 257 98% 49%;
}
Gradient
.gradient-4802fa {
  background: linear-gradient(135deg, #4802fa, #c402fa);
}
Colored shadow
.shadow-4802fa {
  box-shadow: 0 8px 24px rgb(72 2 250 / 0.35);
}

Ultramarine
#4802fa  rgb(72, 2, 250)  hsl(257, 98%, 49%)  Ultramarine
#b4fa02  rgb(180, 250, 2)  hsl(77, 98%, 49%)  Spring Bud
#fa4802  rgb(250, 72, 2)  hsl(17, 98%, 49%)  Orange Red
#02fa48  rgb(2, 250, 72)  hsl(137, 98%, 49%)  Lime