#4E2F7A

#4e2f7a ≈ Dark Slate Blue

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#4e2f7a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 30.59% red, 18.43% green and 47.84% blue; printed in CMYK it uses 36.07% cyan, 61.48% magenta, 0% yellow and 52.16% black. Its hue angle is 264.8°, with 44.38% saturation and 33.14% 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 corporate identities. White text on this color reaches a contrast ratio of 10.44:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 5.6.

Description generated from the measured properties of this color.

Conversions of #4e2f7a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663366
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 #463a5c ≈ 0.001% of males
Protanopia #053f7c ≈ 1.01% of males
Deuteranopia #163f78 ≈ 1.27% of males
Tritanopia #453f4f ≈ 0.0001% of males
Protanomaly #32397b ≈ 1.08% of males
Deuteranomaly #353979 ≈ 4.63% of males
Tritanomaly #483963 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e2f7a {
  color: #4e2f7a;
}
Background
.bg-4e2f7a {
  background-color: #4e2f7a;
  color: #ffffff;
}
Border
.border-4e2f7a {
  border: 2px solid #4e2f7a;
}
CSS variables
:root {
  --color-primary: #4e2f7a;
  --color-primary-rgb: 78 47 122;
  --color-primary-hsl: 265 44% 33%;
}
Gradient
.gradient-4e2f7a {
  background: linear-gradient(135deg, #4e2f7a, #742f7a);
}
Colored shadow
.shadow-4e2f7a {
  box-shadow: 0 8px 24px rgb(78 47 122 / 0.35);
}

Dark Slate Blue
#4e2f7a  rgb(78, 47, 122)  hsl(265, 44%, 33%)  Dark Slate Blue
#5b7a2f  rgb(91, 122, 47)  hsl(85, 44%, 33%)  Sap Green
#7a4e2f  rgb(122, 78, 47)  hsl(25, 44%, 33%)  Coffee
#2f7a4e  rgb(47, 122, 78)  hsl(145, 44%, 33%)  Cadmium Green