#511BB7

#511bb7 ≈ Medium Blue

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

#511bb7 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.59% green and 71.76% blue; printed in CMYK it uses 55.74% cyan, 85.25% magenta, 0% yellow and 28.24% black. Its hue angle is 260.77°, with 74.29% 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.59:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.97.

Description generated from the measured properties of this color.

Conversions of #511bb7 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.0595

Readable text 9.59: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 #4a3883 ≈ 0.001% of males
Protanopia #0048bb ≈ 1.01% of males
Deuteranopia #0041b4 ≈ 1.27% of males
Tritanopia #244d6d ≈ 0.0001% of males
Protanomaly #003bb9 ≈ 1.08% of males
Deuteranomaly #0035b5 ≈ 4.63% of males
Tritanomaly #3b3e90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#511bb7  rgb(81, 27, 183)  hsl(261, 74%, 41%)  Medium Blue
#81b71b  rgb(129, 183, 27)  hsl(81, 74%, 41%)  Apple Green
#b7511b  rgb(183, 81, 27)  hsl(21, 74%, 41%)  Mahogany
#1bb751  rgb(27, 183, 81)  hsl(141, 74%, 41%)  Medium Sea Green