#4E21C8

#4e21c8 ≈ Medium Blue

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

#4e21c8 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.94% green and 78.43% blue; printed in CMYK it uses 61% cyan, 83.5% magenta, 0% yellow and 21.57% black. Its hue angle is 256.17°, with 71.67% saturation and 45.69% 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 8.84:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.92.

Description generated from the measured properties of this color.

Conversions of #4e21c8 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.0688

Readable text 8.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #4c3d8e ≈ 0.001% of males
Protanopia #004fcc ≈ 1.01% of males
Deuteranopia #0045c5 ≈ 1.27% of males
Tritanopia #005678 ≈ 0.0001% of males
Protanomaly #0041cb ≈ 1.08% of males
Deuteranomaly #0039c6 ≈ 4.63% of males
Tritanomaly #2c479e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e21c8 {
  color: #4e21c8;
}
Background
.bg-4e21c8 {
  background-color: #4e21c8;
  color: #ffffff;
}
Border
.border-4e21c8 {
  border: 2px solid #4e21c8;
}
CSS variables
:root {
  --color-primary: #4e21c8;
  --color-primary-rgb: 78 33 200;
  --color-primary-hsl: 256 72% 46%;
}
Gradient
.gradient-4e21c8 {
  background: linear-gradient(135deg, #4e21c8, #a221c8);
}
Colored shadow
.shadow-4e21c8 {
  box-shadow: 0 8px 24px rgb(78 33 200 / 0.35);
}

Medium Blue
#4e21c8  rgb(78, 33, 200)  hsl(256, 72%, 46%)  Medium Blue
#9bc821  rgb(155, 200, 33)  hsl(76, 72%, 46%)  Yellow Green
#c84e21  rgb(200, 78, 33)  hsl(16, 72%, 46%)  Sinopia
#21c84e  rgb(33, 200, 78)  hsl(136, 72%, 46%)  Lime Green