#4D0CB2

#4d0cb2 ≈ Medium Blue

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#4d0cb2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 30.2% red, 4.71% green and 69.8% blue; printed in CMYK it uses 56.74% cyan, 93.26% magenta, 0% yellow and 30.2% black. Its hue angle is 263.49°, with 87.37% saturation and 37.25% 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 10.44:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.34.

Description generated from the measured properties of this color.

Conversions of #4d0cb2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#660099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0506

Readable text 10.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.01:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #45327e ≈ 0.001% of males
Protanopia #0043b6 ≈ 1.01% of males
Deuteranopia #003baf ≈ 1.27% of males
Tritanopia #1e4768 ≈ 0.0001% of males
Protanomaly #0034b4 ≈ 1.08% of males
Deuteranomaly #002fb0 ≈ 4.63% of males
Tritanomaly #37388c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4d0cb2 {
  color: #4d0cb2;
}
Background
.bg-4d0cb2 {
  background-color: #4d0cb2;
  color: #ffffff;
}
Border
.border-4d0cb2 {
  border: 2px solid #4d0cb2;
}
CSS variables
:root {
  --color-primary: #4d0cb2;
  --color-primary-rgb: 77 12 178;
  --color-primary-hsl: 263 87% 37%;
}
Gradient
.gradient-4d0cb2 {
  background: linear-gradient(135deg, #4d0cb2, #a00cb2);
}
Colored shadow
.shadow-4d0cb2 {
  box-shadow: 0 8px 24px rgb(77 12 178 / 0.35);
}

Medium Blue
#4d0cb2  rgb(77, 12, 178)  hsl(263, 87%, 37%)  Medium Blue
#71b20c  rgb(113, 178, 12)  hsl(83, 87%, 37%)  Apple Green
#b24d0c  rgb(178, 77, 12)  hsl(23, 87%, 37%)  Mahogany
#0cb24d  rgb(12, 178, 77)  hsl(143, 87%, 37%)  Medium Sea Green