#4E2A8A

#4e2a8a ≈ Rebecca Purple

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

#4e2a8a 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.12% blue; printed in CMYK it uses 43.48% cyan, 69.57% magenta, 0% yellow and 45.88% black. Its hue angle is 262.5°, with 53.33% saturation and 35.29% 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.39:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 5.01.

Description generated from the measured properties of this color.

Conversions of #4e2a8a 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.0511

Readable text 10.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #463866 ≈ 0.001% of males
Protanopia #00418d ≈ 1.01% of males
Deuteranopia #003f88 ≈ 1.27% of males
Tritanopia #3e4156 ≈ 0.0001% of males
Protanomaly #28398c ≈ 1.08% of males
Deuteranomaly #2b3789 ≈ 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-4e2a8a {
  color: #4e2a8a;
}
Background
.bg-4e2a8a {
  background-color: #4e2a8a;
  color: #ffffff;
}
Border
.border-4e2a8a {
  border: 2px solid #4e2a8a;
}
CSS variables
:root {
  --color-primary: #4e2a8a;
  --color-primary-rgb: 78 42 138;
  --color-primary-hsl: 263 53% 35%;
}
Gradient
.gradient-4e2a8a {
  background: linear-gradient(135deg, #4e2a8a, #7e2a8a);
}
Colored shadow
.shadow-4e2a8a {
  box-shadow: 0 8px 24px rgb(78 42 138 / 0.35);
}

Rebecca Purple
#4e2a8a  rgb(78, 42, 138)  hsl(263, 53%, 35%)  Rebecca Purple
#668a2a  rgb(102, 138, 42)  hsl(83, 53%, 35%)  Olive Drab
#8a4e2a  rgb(138, 78, 42)  hsl(23, 53%, 35%)  Russet
#2a8a4e  rgb(42, 138, 78)  hsl(143, 53%, 35%)  Sea Green