#5E4E9B

#5e4e9b ≈ Royal Purple

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

#5e4e9b is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 36.86% red, 30.59% green and 60.78% blue; printed in CMYK it uses 39.35% cyan, 49.68% magenta, 0% yellow and 39.22% black. Its hue angle is 252.47°, with 33.05% 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 6.91:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.74.

Description generated from the measured properties of this color.

Conversions of #5e4e9b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.102

Readable text 6.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #5c5579 ≈ 0.001% of males
Protanopia #305b9e ≈ 1.01% of males
Deuteranopia #325899 ≈ 1.27% of males
Tritanopia #4e5d6d ≈ 0.0001% of males
Protanomaly #47569d ≈ 1.08% of males
Deuteranomaly #48549a ≈ 4.63% of males
Tritanomaly #555882 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e4e9b {
  color: #5e4e9b;
}
Background
.bg-5e4e9b {
  background-color: #5e4e9b;
  color: #ffffff;
}
Border
.border-5e4e9b {
  border: 2px solid #5e4e9b;
}
CSS variables
:root {
  --color-primary: #5e4e9b;
  --color-primary-rgb: 94 78 155;
  --color-primary-hsl: 252 33% 46%;
}
Gradient
.gradient-5e4e9b {
  background: linear-gradient(135deg, #5e4e9b, #854e9b);
}
Colored shadow
.shadow-5e4e9b {
  box-shadow: 0 8px 24px rgb(94 78 155 / 0.35);
}

Royal Purple
#5e4e9b  rgb(94, 78, 155)  hsl(252, 33%, 46%)  Royal Purple
#8b9b4e  rgb(139, 155, 78)  hsl(72, 33%, 46%)  Moss Green
#9b5e4e  rgb(155, 94, 78)  hsl(12, 33%, 46%)  Redwood
#4e9b5e  rgb(78, 155, 94)  hsl(132, 33%, 46%)  Shamrock Green