#5A337E

#5a337e ≈ Eminence

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

#5a337e is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 35.29% red, 20% green and 49.41% blue; printed in CMYK it uses 28.57% cyan, 59.52% magenta, 0% yellow and 50.59% black. Its hue angle is 271.2°, with 42.37% saturation and 34.71% 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 corporate identities. White text on this color reaches a contrast ratio of 9.5:1 (WCAG AAA). The closest named color is Eminence (#6c3082), ΔE 4.02.

Description generated from the measured properties of this color.

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

Readable text 9.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #4f3f61 ≈ 0.001% of males
Protanopia #154480 ≈ 1.01% of males
Deuteranopia #25467c ≈ 1.27% of males
Tritanopia #544153 ≈ 0.0001% of males
Protanomaly #3c3e7f ≈ 1.08% of males
Deuteranomaly #403f7d ≈ 4.63% of males
Tritanomaly #563c67 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a337e {
  color: #5a337e;
}
Background
.bg-5a337e {
  background-color: #5a337e;
  color: #ffffff;
}
Border
.border-5a337e {
  border: 2px solid #5a337e;
}
CSS variables
:root {
  --color-primary: #5a337e;
  --color-primary-rgb: 90 51 126;
  --color-primary-hsl: 271 42% 35%;
}
Gradient
.gradient-5a337e {
  background: linear-gradient(135deg, #5a337e, #7e337d);
}
Colored shadow
.shadow-5a337e {
  box-shadow: 0 8px 24px rgb(90 51 126 / 0.35);
}

Eminence
#5a337e  rgb(90, 51, 126)  hsl(271, 42%, 35%)  Eminence
#577e33  rgb(87, 126, 51)  hsl(91, 42%, 35%)  Sap Green
#7e5a33  rgb(126, 90, 51)  hsl(31, 42%, 35%)  Raw Umber
#337e5a  rgb(51, 126, 90)  hsl(151, 42%, 35%)  Viridian