#511DC6

#511dc6 ≈ Medium Blue

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

#511dc6 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 77.65% blue; printed in CMYK it uses 59.09% cyan, 85.35% magenta, 0% yellow and 22.35% black. Its hue angle is 258.46°, with 74.45% saturation and 44.51% 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 8.97:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.88.

Description generated from the measured properties of this color.

Conversions of #511dc6 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.0671

Readable text 8.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4c3c8d ≈ 0.001% of males
Protanopia #004dca ≈ 1.01% of males
Deuteranopia #0044c3 ≈ 1.27% of males
Tritanopia #055476 ≈ 0.0001% of males
Protanomaly #003fc9 ≈ 1.08% of males
Deuteranomaly #0038c4 ≈ 4.63% of males
Tritanomaly #34449c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511dc6 {
  color: #511dc6;
}
Background
.bg-511dc6 {
  background-color: #511dc6;
  color: #ffffff;
}
Border
.border-511dc6 {
  border: 2px solid #511dc6;
}
CSS variables
:root {
  --color-primary: #511dc6;
  --color-primary-rgb: 81 29 198;
  --color-primary-hsl: 258 74% 45%;
}
Gradient
.gradient-511dc6 {
  background: linear-gradient(135deg, #511dc6, #a51dc6);
}
Colored shadow
.shadow-511dc6 {
  box-shadow: 0 8px 24px rgb(81 29 198 / 0.35);
}

Medium Blue
#511dc6  rgb(81, 29, 198)  hsl(258, 74%, 45%)  Medium Blue
#92c61d  rgb(146, 198, 29)  hsl(78, 74%, 45%)  Yellow Green
#c6511d  rgb(198, 81, 29)  hsl(18, 74%, 45%)  Sinopia
#1dc651  rgb(29, 198, 81)  hsl(138, 74%, 45%)  Lime Green