#4E1BAF

#4e1baf ≈ Medium Blue

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

#4e1baf is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 30.59% red, 10.59% green and 68.63% blue; printed in CMYK it uses 55.43% cyan, 84.57% magenta, 0% yellow and 31.37% black. Its hue angle is 260.68°, with 73.27% saturation and 39.61% 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 10:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.08.

Description generated from the measured properties of this color.

Conversions of #4e1baf 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.055

Readable text 10:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #47367d ≈ 0.001% of males
Protanopia #0045b3 ≈ 1.01% of males
Deuteranopia #003fac ≈ 1.27% of males
Tritanopia #254968 ≈ 0.0001% of males
Protanomaly #0039b1 ≈ 1.08% of males
Deuteranomaly #0034ad ≈ 4.63% of males
Tritanomaly #393c8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e1baf {
  color: #4e1baf;
}
Background
.bg-4e1baf {
  background-color: #4e1baf;
  color: #ffffff;
}
Border
.border-4e1baf {
  border: 2px solid #4e1baf;
}
CSS variables
:root {
  --color-primary: #4e1baf;
  --color-primary-rgb: 78 27 175;
  --color-primary-hsl: 261 73% 40%;
}
Gradient
.gradient-4e1baf {
  background: linear-gradient(135deg, #4e1baf, #981baf);
}
Colored shadow
.shadow-4e1baf {
  box-shadow: 0 8px 24px rgb(78 27 175 / 0.35);
}

Medium Blue
#4e1baf  rgb(78, 27, 175)  hsl(261, 73%, 40%)  Medium Blue
#7caf1b  rgb(124, 175, 27)  hsl(81, 73%, 40%)  Apple Green
#af4e1b  rgb(175, 78, 27)  hsl(21, 73%, 40%)  Rust
#1baf4e  rgb(27, 175, 78)  hsl(141, 73%, 40%)  Medium Sea Green