#4D1FAC

#4d1fac ≈ Medium Blue

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

#4d1fac is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 30.2% red, 12.16% green and 67.45% blue; printed in CMYK it uses 55.23% cyan, 81.98% magenta, 0% yellow and 32.55% black. Its hue angle is 259.57°, with 69.46% saturation and 39.8% 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 brand accents. White text on this color reaches a contrast ratio of 9.97:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.44.

Description generated from the measured properties of this color.

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

Readable text 9.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #47377b ≈ 0.001% of males
Protanopia #0045b0 ≈ 1.01% of males
Deuteranopia #003faa ≈ 1.27% of males
Tritanopia #254a67 ≈ 0.0001% of males
Protanomaly #0039ae ≈ 1.08% of males
Deuteranomaly #0035ab ≈ 4.63% of males
Tritanomaly #393d88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4d1fac {
  color: #4d1fac;
}
Background
.bg-4d1fac {
  background-color: #4d1fac;
  color: #ffffff;
}
Border
.border-4d1fac {
  border: 2px solid #4d1fac;
}
CSS variables
:root {
  --color-primary: #4d1fac;
  --color-primary-rgb: 77 31 172;
  --color-primary-hsl: 260 69% 40%;
}
Gradient
.gradient-4d1fac {
  background: linear-gradient(135deg, #4d1fac, #931fac);
}
Colored shadow
.shadow-4d1fac {
  box-shadow: 0 8px 24px rgb(77 31 172 / 0.35);
}

Medium Blue
#4d1fac  rgb(77, 31, 172)  hsl(260, 69%, 40%)  Medium Blue
#7eac1f  rgb(126, 172, 31)  hsl(80, 69%, 40%)  Apple Green
#ac4d1f  rgb(172, 77, 31)  hsl(20, 69%, 40%)  Sienna
#1fac4d  rgb(31, 172, 77)  hsl(140, 69%, 40%)  Medium Sea Green