#4E2A8B

#4e2a8b ≈ Rebecca Purple

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

#4e2a8b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 30.59% red, 16.47% green and 54.51% blue; printed in CMYK it uses 43.88% cyan, 69.78% magenta, 0% yellow and 45.49% black. Its hue angle is 262.27°, with 53.59% saturation and 35.49% 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.36:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 4.97.

Description generated from the measured properties of this color.

Conversions of #4e2a8b 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.0514

Readable text 10.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.03:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #463866 ≈ 0.001% of males
Protanopia #00418e ≈ 1.01% of males
Deuteranopia #003f89 ≈ 1.27% of males
Tritanopia #3e4257 ≈ 0.0001% of males
Protanomaly #27398d ≈ 1.08% of males
Deuteranomaly #2b378a ≈ 4.63% of males
Tritanomaly #45396f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e2a8b {
  color: #4e2a8b;
}
Background
.bg-4e2a8b {
  background-color: #4e2a8b;
  color: #ffffff;
}
Border
.border-4e2a8b {
  border: 2px solid #4e2a8b;
}
CSS variables
:root {
  --color-primary: #4e2a8b;
  --color-primary-rgb: 78 42 139;
  --color-primary-hsl: 262 54% 35%;
}
Gradient
.gradient-4e2a8b {
  background: linear-gradient(135deg, #4e2a8b, #7f2a8b);
}
Colored shadow
.shadow-4e2a8b {
  box-shadow: 0 8px 24px rgb(78 42 139 / 0.35);
}

Rebecca Purple
#4e2a8b  rgb(78, 42, 139)  hsl(262, 54%, 35%)  Rebecca Purple
#678b2a  rgb(103, 139, 42)  hsl(82, 54%, 35%)  Olive Drab
#8b4e2a  rgb(139, 78, 42)  hsl(22, 54%, 35%)  Russet
#2a8b4e  rgb(42, 139, 78)  hsl(142, 54%, 35%)  Sea Green