#4E3798

#4e3798 ≈ Dark Slate Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#4e3798 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 21.57% green and 59.61% blue; printed in CMYK it uses 48.68% cyan, 63.82% magenta, 0% yellow and 40.39% black. Its hue angle is 254.23°, with 46.86% saturation and 40.59% 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.04:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 3.45.

Description generated from the measured properties of this color.

Conversions of #4e3798 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.0662

Readable text 9.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4b4271 ≈ 0.001% of males
Protanopia #004b9b ≈ 1.01% of males
Deuteranopia #004696 ≈ 1.27% of males
Tritanopia #364e62 ≈ 0.0001% of males
Protanomaly #2a449a ≈ 1.08% of males
Deuteranomaly #2b4197 ≈ 4.63% of males
Tritanomaly #41467b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e3798 {
  color: #4e3798;
}
Background
.bg-4e3798 {
  background-color: #4e3798;
  color: #ffffff;
}
Border
.border-4e3798 {
  border: 2px solid #4e3798;
}
CSS variables
:root {
  --color-primary: #4e3798;
  --color-primary-rgb: 78 55 152;
  --color-primary-hsl: 254 47% 41%;
}
Gradient
.gradient-4e3798 {
  background: linear-gradient(135deg, #4e3798, #7f3798);
}
Colored shadow
.shadow-4e3798 {
  box-shadow: 0 8px 24px rgb(78 55 152 / 0.35);
}

Dark Slate Blue
#4e3798  rgb(78, 55, 152)  hsl(254, 47%, 41%)  Dark Slate Blue
#819837  rgb(129, 152, 55)  hsl(74, 47%, 41%)  Olive Drab
#984e37  rgb(152, 78, 55)  hsl(14, 47%, 41%)  Chestnut
#37984e  rgb(55, 152, 78)  hsl(134, 47%, 41%)  Shamrock Green