#5104f1 ≈ Ultramarine
#5104f1 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 1.57% green and 94.51% blue; printed in CMYK it uses 66.39% cyan, 98.34% magenta, 0% yellow and 5.49% black. Its hue angle is 259.49°, with 96.73% saturation and 48.04% 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.96:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.69.
Description generated from the measured properties of this color.
| 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 luminance | 0.0819 |
Shades
#5104f1 mixed progressively with black.
Tints
#5104f1 mixed progressively with white.
Tones
#5104f1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5104f1 {
color: #5104f1;
}
.bg-5104f1 {
background-color: #5104f1;
color: #ffffff;
}
.border-5104f1 {
border: 2px solid #5104f1;
}
:root {
--color-primary: #5104f1;
--color-primary-rgb: 81 4 241;
--color-primary-hsl: 259 97% 48%;
}
.gradient-5104f1 {
background: linear-gradient(135deg, #5104f1, #c704f1);
}
.shadow-5104f1 {
box-shadow: 0 8px 24px rgb(81 4 241 / 0.35);
}
Ultramarine
#5104f1 rgb(81, 4, 241) hsl(259, 97%, 48%) Ultramarine
#a4f104 rgb(164, 241, 4) hsl(79, 97%, 48%) Spring Bud
#f15104 rgb(241, 81, 4) hsl(19, 97%, 48%) Tangelo
#04f151 rgb(4, 241, 81) hsl(139, 97%, 48%) Spring Green