#5804CF

#5804cf ≈ Ultramarine

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

#5804cf is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 34.51% red, 1.57% green and 81.18% blue; printed in CMYK it uses 57.49% cyan, 98.07% magenta, 0% yellow and 18.82% black. Its hue angle is 264.83°, with 96.21% saturation and 41.37% 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 9:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 5.51.

Description generated from the measured properties of this color.

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

Readable text 9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4f3992 ≈ 0.001% of males
Protanopia #004dd4 ≈ 1.01% of males
Deuteranopia #0044cc ≈ 1.27% of males
Tritanopia #1b5379 ≈ 0.0001% of males
Protanomaly #003cd2 ≈ 1.08% of males
Deuteranomaly #0035cd ≈ 4.63% of males
Tritanomaly #3c40a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5804cf {
  color: #5804cf;
}
Background
.bg-5804cf {
  background-color: #5804cf;
  color: #ffffff;
}
Border
.border-5804cf {
  border: 2px solid #5804cf;
}
CSS variables
:root {
  --color-primary: #5804cf;
  --color-primary-rgb: 88 4 207;
  --color-primary-hsl: 265 96% 41%;
}
Gradient
.gradient-5804cf {
  background: linear-gradient(135deg, #5804cf, #bd04cf);
}
Colored shadow
.shadow-5804cf {
  box-shadow: 0 8px 24px rgb(88 4 207 / 0.35);
}

Ultramarine
#5804cf  rgb(88, 4, 207)  hsl(265, 96%, 41%)  Ultramarine
#7bcf04  rgb(123, 207, 4)  hsl(85, 96%, 41%)  Yellow Green
#cf5804  rgb(207, 88, 4)  hsl(25, 96%, 41%)  Burnt Orange
#04cf58  rgb(4, 207, 88)  hsl(145, 96%, 41%)  Malachite