#511F9B

#511f9b ≈ Indigo

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#511f9b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 12.16% green and 60.78% blue; printed in CMYK it uses 47.74% cyan, 80% magenta, 0% yellow and 39.22% black. Its hue angle is 264.19°, with 66.67% saturation and 36.47% 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 10.4:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 5.5.

Description generated from the measured properties of this color.

Conversions of #511f9b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.051

Readable text 10.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #473570 ≈ 0.001% of males
Protanopia #00419e ≈ 1.01% of males
Deuteranopia #003e99 ≈ 1.27% of males
Tritanopia #3b425d ≈ 0.0001% of males
Protanomaly #17369d ≈ 1.08% of males
Deuteranomaly #1e349a ≈ 4.63% of males
Tritanomaly #45377b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511f9b {
  color: #511f9b;
}
Background
.bg-511f9b {
  background-color: #511f9b;
  color: #ffffff;
}
Border
.border-511f9b {
  border: 2px solid #511f9b;
}
CSS variables
:root {
  --color-primary: #511f9b;
  --color-primary-rgb: 81 31 155;
  --color-primary-hsl: 264 67% 36%;
}
Gradient
.gradient-511f9b {
  background: linear-gradient(135deg, #511f9b, #8f1f9b);
}
Colored shadow
.shadow-511f9b {
  box-shadow: 0 8px 24px rgb(81 31 155 / 0.35);
}

Indigo
#511f9b  rgb(81, 31, 155)  hsl(264, 67%, 36%)  Indigo
#699b1f  rgb(105, 155, 31)  hsl(84, 67%, 36%)  Olive Drab
#9b511f  rgb(155, 81, 31)  hsl(24, 67%, 36%)  Sienna
#1f9b51  rgb(31, 155, 81)  hsl(144, 67%, 36%)  Shamrock Green