#4E20BA

#4e20ba ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#4e20ba is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 12.55% green and 72.94% blue; printed in CMYK it uses 58.06% cyan, 82.8% magenta, 0% yellow and 27.06% black. Its hue angle is 257.92°, with 70.64% saturation and 42.75% 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.38:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.88.

Description generated from the measured properties of this color.

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

Readable text 9.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #4a3a85 ≈ 0.001% of males
Protanopia #004abe ≈ 1.01% of males
Deuteranopia #0042b7 ≈ 1.27% of males
Tritanopia #14506f ≈ 0.0001% of males
Protanomaly #003dbc ≈ 1.08% of males
Deuteranomaly #0037b8 ≈ 4.63% of males
Tritanomaly #344293 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e20ba {
  color: #4e20ba;
}
Background
.bg-4e20ba {
  background-color: #4e20ba;
  color: #ffffff;
}
Border
.border-4e20ba {
  border: 2px solid #4e20ba;
}
CSS variables
:root {
  --color-primary: #4e20ba;
  --color-primary-rgb: 78 32 186;
  --color-primary-hsl: 258 71% 43%;
}
Gradient
.gradient-4e20ba {
  background: linear-gradient(135deg, #4e20ba, #9b20ba);
}
Colored shadow
.shadow-4e20ba {
  box-shadow: 0 8px 24px rgb(78 32 186 / 0.35);
}

Medium Blue
#4e20ba  rgb(78, 32, 186)  hsl(258, 71%, 43%)  Medium Blue
#8cba20  rgb(140, 186, 32)  hsl(78, 71%, 43%)  Apple Green
#ba4e20  rgb(186, 78, 32)  hsl(18, 71%, 43%)  Rust
#20ba4e  rgb(32, 186, 78)  hsl(138, 71%, 43%)  Emerald