#6E56A2

#6e56a2 ≈ Royal Purple

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

#6e56a2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 43.14% red, 33.73% green and 63.53% blue; printed in CMYK it uses 32.1% cyan, 46.91% magenta, 0% yellow and 36.47% black. Its hue angle is 258.95°, with 30.65% saturation and 48.63% 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.97:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.1.

Description generated from the measured properties of this color.

Conversions of #6e56a2 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.1258

Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #685e81 ≈ 0.001% of males
Protanopia #3e64a5 ≈ 1.01% of males
Deuteranopia #4262a0 ≈ 1.27% of males
Tritanopia #636474 ≈ 0.0001% of males
Protanomaly #555fa4 ≈ 1.08% of males
Deuteranomaly #575ea1 ≈ 4.63% of males
Tritanomaly #675f89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6e56a2 {
  color: #6e56a2;
}
Background
.bg-6e56a2 {
  background-color: #6e56a2;
  color: #ffffff;
}
Border
.border-6e56a2 {
  border: 2px solid #6e56a2;
}
CSS variables
:root {
  --color-primary: #6e56a2;
  --color-primary-rgb: 110 86 162;
  --color-primary-hsl: 259 31% 49%;
}
Gradient
.gradient-6e56a2 {
  background: linear-gradient(135deg, #6e56a2, #9456a2);
}
Colored shadow
.shadow-6e56a2 {
  box-shadow: 0 8px 24px rgb(110 86 162 / 0.35);
}

Royal Purple
#6e56a2  rgb(110, 86, 162)  hsl(259, 31%, 49%)  Royal Purple
#8aa256  rgb(138, 162, 86)  hsl(79, 31%, 49%)  Moss Green
#a26e56  rgb(162, 110, 86)  hsl(19, 31%, 49%)  Cafe au Lait
#56a26e  rgb(86, 162, 110)  hsl(139, 31%, 49%)  Jade