#5D04CB

#5d04cb ≈ Ultramarine

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

#5d04cb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.47% red, 1.57% green and 79.61% blue; printed in CMYK it uses 54.19% cyan, 98.03% magenta, 0% yellow and 20.39% black. Its hue angle is 266.83°, with 96.14% saturation and 40.59% 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.95:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 6.09.

Description generated from the measured properties of this color.

Conversions of #5d04cb 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.0673

Readable text 8.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #523990 ≈ 0.001% of males
Protanopia #004cd0 ≈ 1.01% of males
Deuteranopia #0045c8 ≈ 1.27% of males
Tritanopia #315077 ≈ 0.0001% of males
Protanomaly #003bce ≈ 1.08% of males
Deuteranomaly #0036c9 ≈ 4.63% of males
Tritanomaly #473e9f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5d04cb {
  color: #5d04cb;
}
Background
.bg-5d04cb {
  background-color: #5d04cb;
  color: #ffffff;
}
Border
.border-5d04cb {
  border: 2px solid #5d04cb;
}
CSS variables
:root {
  --color-primary: #5d04cb;
  --color-primary-rgb: 93 4 203;
  --color-primary-hsl: 267 96% 41%;
}
Gradient
.gradient-5d04cb {
  background: linear-gradient(135deg, #5d04cb, #c004cb);
}
Colored shadow
.shadow-5d04cb {
  box-shadow: 0 8px 24px rgb(93 4 203 / 0.35);
}

Ultramarine
#5d04cb  rgb(93, 4, 203)  hsl(267, 96%, 41%)  Ultramarine
#72cb04  rgb(114, 203, 4)  hsl(87, 96%, 41%)  Yellow Green
#cb5d04  rgb(203, 93, 4)  hsl(27, 96%, 41%)  Burnt Orange
#04cb5d  rgb(4, 203, 93)  hsl(147, 96%, 41%)  Malachite