#604FA5

#604fa5 ≈ Royal Purple

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

#604fa5 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.65% red, 30.98% green and 64.71% blue; printed in CMYK it uses 41.82% cyan, 52.12% magenta, 0% yellow and 35.29% black. Its hue angle is 251.86°, with 35.25% saturation and 47.84% 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.65:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.23.

Description generated from the measured properties of this color.

Conversions of #604fa5 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.108

Readable text 6.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5e5780 ≈ 0.001% of males
Protanopia #2a5ea8 ≈ 1.01% of males
Deuteranopia #2b5aa3 ≈ 1.27% of males
Tritanopia #4d6172 ≈ 0.0001% of males
Protanomaly #4658a7 ≈ 1.08% of males
Deuteranomaly #4656a4 ≈ 4.63% of males
Tritanomaly #555a89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-604fa5 {
  color: #604fa5;
}
Background
.bg-604fa5 {
  background-color: #604fa5;
  color: #ffffff;
}
Border
.border-604fa5 {
  border: 2px solid #604fa5;
}
CSS variables
:root {
  --color-primary: #604fa5;
  --color-primary-rgb: 96 79 165;
  --color-primary-hsl: 252 35% 48%;
}
Gradient
.gradient-604fa5 {
  background: linear-gradient(135deg, #604fa5, #8b4fa5);
}
Colored shadow
.shadow-604fa5 {
  box-shadow: 0 8px 24px rgb(96 79 165 / 0.35);
}

Royal Purple
#604fa5  rgb(96, 79, 165)  hsl(252, 35%, 48%)  Royal Purple
#94a54f  rgb(148, 165, 79)  hsl(72, 35%, 48%)  Moss Green
#a5604f  rgb(165, 96, 79)  hsl(12, 35%, 48%)  Redwood
#4fa560  rgb(79, 165, 96)  hsl(132, 35%, 48%)  Medium Sea Green