#511FB5

#511fb5 ≈ Medium Blue

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

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

Description generated from the measured properties of this color.

Conversions of #511fb5 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.0607

Readable text 9.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #4a3a81 ≈ 0.001% of males
Protanopia #0049b9 ≈ 1.01% of males
Deuteranopia #0042b2 ≈ 1.27% of males
Tritanopia #264d6c ≈ 0.0001% of males
Protanomaly #003cb7 ≈ 1.08% of males
Deuteranomaly #0037b3 ≈ 4.63% of males
Tritanomaly #3c3f8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511fb5 {
  color: #511fb5;
}
Background
.bg-511fb5 {
  background-color: #511fb5;
  color: #ffffff;
}
Border
.border-511fb5 {
  border: 2px solid #511fb5;
}
CSS variables
:root {
  --color-primary: #511fb5;
  --color-primary-rgb: 81 31 181;
  --color-primary-hsl: 260 71% 42%;
}
Gradient
.gradient-511fb5 {
  background: linear-gradient(135deg, #511fb5, #9c1fb5);
}
Colored shadow
.shadow-511fb5 {
  box-shadow: 0 8px 24px rgb(81 31 181 / 0.35);
}

Medium Blue
#511fb5  rgb(81, 31, 181)  hsl(260, 71%, 42%)  Medium Blue
#83b51f  rgb(131, 181, 31)  hsl(80, 71%, 42%)  Apple Green
#b5511f  rgb(181, 81, 31)  hsl(20, 71%, 42%)  Rust
#1fb551  rgb(31, 181, 81)  hsl(140, 71%, 42%)  Medium Sea Green