#511DB5

#511db5 ≈ Medium Blue

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

#511db5 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.37% green and 70.98% blue; printed in CMYK it uses 55.25% cyan, 83.98% magenta, 0% yellow and 29.02% black. Its hue angle is 260.53°, with 72.38% saturation and 41.18% 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.58:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.18.

Description generated from the measured properties of this color.

Conversions of #511db5 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.0596

Readable text 9.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #4a3981 ≈ 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-511db5 {
  color: #511db5;
}
Background
.bg-511db5 {
  background-color: #511db5;
  color: #ffffff;
}
Border
.border-511db5 {
  border: 2px solid #511db5;
}
CSS variables
:root {
  --color-primary: #511db5;
  --color-primary-rgb: 81 29 181;
  --color-primary-hsl: 261 72% 41%;
}
Gradient
.gradient-511db5 {
  background: linear-gradient(135deg, #511db5, #9d1db5);
}
Colored shadow
.shadow-511db5 {
  box-shadow: 0 8px 24px rgb(81 29 181 / 0.35);
}

Medium Blue
#511db5  rgb(81, 29, 181)  hsl(261, 72%, 41%)  Medium Blue
#81b51d  rgb(129, 181, 29)  hsl(81, 72%, 41%)  Apple Green
#b5511d  rgb(181, 81, 29)  hsl(21, 72%, 41%)  Rust
#1db551  rgb(29, 181, 81)  hsl(141, 72%, 41%)  Medium Sea Green