#604FA4

#604fa4 ≈ Royal Purple

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

#604fa4 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.31% blue; printed in CMYK it uses 41.46% cyan, 51.83% magenta, 0% yellow and 35.69% black. Its hue angle is 252°, with 34.98% saturation and 47.65% 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.66:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.21.

Description generated from the measured properties of this color.

Conversions of #604fa4 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.1076

Readable text 6.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5e577f ≈ 0.001% of males
Protanopia #2b5ea7 ≈ 1.01% of males
Deuteranopia #2c5aa2 ≈ 1.27% of males
Tritanopia #4d6172 ≈ 0.0001% of males
Protanomaly #4658a6 ≈ 1.08% of males
Deuteranomaly #4756a3 ≈ 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-604fa4 {
  color: #604fa4;
}
Background
.bg-604fa4 {
  background-color: #604fa4;
  color: #ffffff;
}
Border
.border-604fa4 {
  border: 2px solid #604fa4;
}
CSS variables
:root {
  --color-primary: #604fa4;
  --color-primary-rgb: 96 79 164;
  --color-primary-hsl: 252 35% 48%;
}
Gradient
.gradient-604fa4 {
  background: linear-gradient(135deg, #604fa4, #8b4fa4);
}
Colored shadow
.shadow-604fa4 {
  box-shadow: 0 8px 24px rgb(96 79 164 / 0.35);
}

Royal Purple
#604fa4  rgb(96, 79, 164)  hsl(252, 35%, 48%)  Royal Purple
#93a44f  rgb(147, 164, 79)  hsl(72, 35%, 48%)  Moss Green
#a4604f  rgb(164, 96, 79)  hsl(12, 35%, 48%)  Redwood
#4fa460  rgb(79, 164, 96)  hsl(132, 35%, 48%)  Medium Sea Green