#511EC5

#511ec5 ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#511ec5 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 11.76% green and 77.25% blue; printed in CMYK it uses 58.88% cyan, 84.77% magenta, 0% yellow and 22.75% black. Its hue angle is 258.32°, with 73.57% saturation and 44.51% 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 8.97:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.94.

Description generated from the measured properties of this color.

Conversions of #511ec5 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0671

Readable text 8.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4c3c8c ≈ 0.001% of males
Protanopia #004dc9 ≈ 1.01% of males
Deuteranopia #0044c2 ≈ 1.27% of males
Tritanopia #085475 ≈ 0.0001% of males
Protanomaly #003fc8 ≈ 1.08% of males
Deuteranomaly #0038c3 ≈ 4.63% of males
Tritanomaly #34449c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511ec5 {
  color: #511ec5;
}
Background
.bg-511ec5 {
  background-color: #511ec5;
  color: #ffffff;
}
Border
.border-511ec5 {
  border: 2px solid #511ec5;
}
CSS variables
:root {
  --color-primary: #511ec5;
  --color-primary-rgb: 81 30 197;
  --color-primary-hsl: 258 74% 45%;
}
Gradient
.gradient-511ec5 {
  background: linear-gradient(135deg, #511ec5, #a41ec5);
}
Colored shadow
.shadow-511ec5 {
  box-shadow: 0 8px 24px rgb(81 30 197 / 0.35);
}

Medium Blue
#511ec5  rgb(81, 30, 197)  hsl(258, 74%, 45%)  Medium Blue
#92c51e  rgb(146, 197, 30)  hsl(78, 74%, 45%)  Yellow Green
#c5511e  rgb(197, 81, 30)  hsl(18, 74%, 45%)  Sinopia
#1ec551  rgb(30, 197, 81)  hsl(138, 74%, 45%)  Lime Green