#511CB5

#511cb5 ≈ Medium Blue

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

#511cb5 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 10.98% green and 70.98% blue; printed in CMYK it uses 55.25% cyan, 84.53% magenta, 0% yellow and 29.02% black. Its hue angle is 260.78°, with 73.21% saturation and 40.98% 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 9.62:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.12.

Description generated from the measured properties of this color.

Conversions of #511cb5 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.0592

Readable text 9.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #4a3881 ≈ 0.001% of males
Protanopia #0048b9 ≈ 1.01% of males
Deuteranopia #0041b2 ≈ 1.27% of males
Tritanopia #264c6c ≈ 0.0001% of males
Protanomaly #003bb7 ≈ 1.08% of males
Deuteranomaly #0036b3 ≈ 4.63% of males
Tritanomaly #3c3e8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511cb5 {
  color: #511cb5;
}
Background
.bg-511cb5 {
  background-color: #511cb5;
  color: #ffffff;
}
Border
.border-511cb5 {
  border: 2px solid #511cb5;
}
CSS variables
:root {
  --color-primary: #511cb5;
  --color-primary-rgb: 81 28 181;
  --color-primary-hsl: 261 73% 41%;
}
Gradient
.gradient-511cb5 {
  background: linear-gradient(135deg, #511cb5, #9d1cb5);
}
Colored shadow
.shadow-511cb5 {
  box-shadow: 0 8px 24px rgb(81 28 181 / 0.35);
}

Medium Blue
#511cb5  rgb(81, 28, 181)  hsl(261, 73%, 41%)  Medium Blue
#80b51c  rgb(128, 181, 28)  hsl(81, 73%, 41%)  Apple Green
#b5511c  rgb(181, 81, 28)  hsl(21, 73%, 41%)  Rust
#1cb551  rgb(28, 181, 81)  hsl(141, 73%, 41%)  Medium Sea Green