#6A56B0

#6a56b0 ≈ Royal Purple

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

#6a56b0 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 41.57% red, 33.73% green and 69.02% blue; printed in CMYK it uses 39.77% cyan, 51.14% magenta, 0% yellow and 30.98% black. Its hue angle is 253.33°, with 36.29% saturation and 51.37% 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 5.88:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.16.

Description generated from the measured properties of this color.

Conversions of #6a56b0 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.1285

Readable text 5.88:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.57:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #675f89 ≈ 0.001% of males
Protanopia #3166b3 ≈ 1.01% of males
Deuteranopia #3463ae ≈ 1.27% of males
Tritanopia #57687b ≈ 0.0001% of males
Protanomaly #4e60b2 ≈ 1.08% of males
Deuteranomaly #4f5eaf ≈ 4.63% of males
Tritanomaly #5f6293 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6a56b0 {
  color: #6a56b0;
}
Background
.bg-6a56b0 {
  background-color: #6a56b0;
  color: #ffffff;
}
Border
.border-6a56b0 {
  border: 2px solid #6a56b0;
}
CSS variables
:root {
  --color-primary: #6a56b0;
  --color-primary-rgb: 106 86 176;
  --color-primary-hsl: 253 36% 51%;
}
Gradient
.gradient-6a56b0 {
  background: linear-gradient(135deg, #6a56b0, #9756b0);
}
Colored shadow
.shadow-6a56b0 {
  box-shadow: 0 8px 24px rgb(106 86 176 / 0.35);
}

Royal Purple
#6a56b0  rgb(106, 86, 176)  hsl(253, 36%, 51%)  Royal Purple
#9cb056  rgb(156, 176, 86)  hsl(73, 36%, 51%)  Olivine
#b06a56  rgb(176, 106, 86)  hsl(13, 36%, 51%)  Redwood
#56b06a  rgb(86, 176, 106)  hsl(133, 36%, 51%)  Medium Sea Green