#5E4E98

#5e4e98 ≈ Royal Purple

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

#5e4e98 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 59.61% blue; printed in CMYK it uses 38.16% cyan, 48.68% magenta, 0% yellow and 40.39% black. Its hue angle is 252.97°, with 32.17% saturation and 45.1% 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.96:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.89.

Description generated from the measured properties of this color.

Conversions of #5e4e98 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.101

Readable text 6.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #5b5578 ≈ 0.001% of males
Protanopia #335b9b ≈ 1.01% of males
Deuteranopia #355896 ≈ 1.27% of males
Tritanopia #4f5d6c ≈ 0.0001% of males
Protanomaly #48569a ≈ 1.08% of males
Deuteranomaly #495497 ≈ 4.63% of males
Tritanomaly #555780 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e4e98 {
  color: #5e4e98;
}
Background
.bg-5e4e98 {
  background-color: #5e4e98;
  color: #ffffff;
}
Border
.border-5e4e98 {
  border: 2px solid #5e4e98;
}
CSS variables
:root {
  --color-primary: #5e4e98;
  --color-primary-rgb: 94 78 152;
  --color-primary-hsl: 253 32% 45%;
}
Gradient
.gradient-5e4e98 {
  background: linear-gradient(135deg, #5e4e98, #834e98);
}
Colored shadow
.shadow-5e4e98 {
  box-shadow: 0 8px 24px rgb(94 78 152 / 0.35);
}

Royal Purple
#5e4e98  rgb(94, 78, 152)  hsl(253, 32%, 45%)  Royal Purple
#88984e  rgb(136, 152, 78)  hsl(73, 32%, 45%)  Moss Green
#985e4e  rgb(152, 94, 78)  hsl(13, 32%, 45%)  Redwood
#4e985e  rgb(78, 152, 94)  hsl(133, 32%, 45%)  Shamrock Green