#511CB1

#511cb1 ≈ Medium Blue

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

#511cb1 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 69.41% blue; printed in CMYK it uses 54.24% cyan, 84.18% magenta, 0% yellow and 30.59% black. Its hue angle is 261.34°, with 72.68% saturation and 40.2% 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.76:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.34.

Description generated from the measured properties of this color.

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

Readable text 9.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #49387e ≈ 0.001% of males
Protanopia #0047b5 ≈ 1.01% of males
Deuteranopia #0040ae ≈ 1.27% of males
Tritanopia #2b4a69 ≈ 0.0001% of males
Protanomaly #003ab3 ≈ 1.08% of males
Deuteranomaly #0035af ≈ 4.63% of males
Tritanomaly #3d3d8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#511cb1  rgb(81, 28, 177)  hsl(261, 73%, 40%)  Medium Blue
#7cb11c  rgb(124, 177, 28)  hsl(81, 73%, 40%)  Apple Green
#b1511c  rgb(177, 81, 28)  hsl(21, 73%, 40%)  Rust
#1cb151  rgb(28, 177, 81)  hsl(141, 73%, 40%)  Medium Sea Green