#511FB4

#511fb4 ≈ Medium Blue

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

#511fb4 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.59% blue; printed in CMYK it uses 55% cyan, 82.78% magenta, 0% yellow and 29.41% black. Its hue angle is 260.13°, with 70.62% saturation and 41.37% 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.52:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.36.

Description generated from the measured properties of this color.

Conversions of #511fb4 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.0602

Readable text 9.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #4a3a81 ≈ 0.001% of males
Protanopia #0048b8 ≈ 1.01% of males
Deuteranopia #0042b1 ≈ 1.27% of males
Tritanopia #274d6c ≈ 0.0001% of males
Protanomaly #003cb6 ≈ 1.08% of males
Deuteranomaly #0037b2 ≈ 4.63% of males
Tritanomaly #3c3f8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#511fb4  rgb(81, 31, 180)  hsl(260, 71%, 41%)  Medium Blue
#82b41f  rgb(130, 180, 31)  hsl(80, 71%, 41%)  Apple Green
#b4511f  rgb(180, 81, 31)  hsl(20, 71%, 41%)  Rust
#1fb451  rgb(31, 180, 81)  hsl(140, 71%, 41%)  Medium Sea Green