#604DA2

#604da2 ≈ Royal Purple

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

#604da2 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.2% green and 63.53% blue; printed in CMYK it uses 40.74% cyan, 52.47% magenta, 0% yellow and 36.47% black. Its hue angle is 253.41°, with 35.56% saturation and 46.86% 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.82:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.17.

Description generated from the measured properties of this color.

Conversions of #604da2 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.104

Readable text 6.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #5d567e ≈ 0.001% of males
Protanopia #295ca5 ≈ 1.01% of males
Deuteranopia #2b59a0 ≈ 1.27% of males
Tritanopia #4e5f70 ≈ 0.0001% of males
Protanomaly #4557a4 ≈ 1.08% of males
Deuteranomaly #4654a1 ≈ 4.63% of males
Tritanomaly #565887 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-604da2 {
  color: #604da2;
}
Background
.bg-604da2 {
  background-color: #604da2;
  color: #ffffff;
}
Border
.border-604da2 {
  border: 2px solid #604da2;
}
CSS variables
:root {
  --color-primary: #604da2;
  --color-primary-rgb: 96 77 162;
  --color-primary-hsl: 253 36% 47%;
}
Gradient
.gradient-604da2 {
  background: linear-gradient(135deg, #604da2, #8a4da2);
}
Colored shadow
.shadow-604da2 {
  box-shadow: 0 8px 24px rgb(96 77 162 / 0.35);
}

Royal Purple
#604da2  rgb(96, 77, 162)  hsl(253, 36%, 47%)  Royal Purple
#8fa24d  rgb(143, 162, 77)  hsl(73, 36%, 47%)  Moss Green
#a2604d  rgb(162, 96, 77)  hsl(13, 36%, 47%)  Redwood
#4da260  rgb(77, 162, 96)  hsl(133, 36%, 47%)  Shamrock Green