#511BE4

#511be4 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#511be4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 10.59% green and 89.41% blue; printed in CMYK it uses 64.47% cyan, 88.16% magenta, 0% yellow and 10.59% black. Its hue angle is 256.12°, with 78.82% saturation and 50% 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 7.99:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.6.

Description generated from the measured properties of this color.

Conversions of #511be4 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.0813

Readable text 7.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5141a2 ≈ 0.001% of males
Protanopia #0057e9 ≈ 1.01% of males
Deuteranopia #0049e1 ≈ 1.27% of males
Tritanopia #006187 ≈ 0.0001% of males
Protanomaly #0046e7 ≈ 1.08% of males
Deuteranomaly #003ce2 ≈ 4.63% of males
Tritanomaly #1b4eb4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511be4 {
  color: #511be4;
}
Background
.bg-511be4 {
  background-color: #511be4;
  color: #ffffff;
}
Border
.border-511be4 {
  border: 2px solid #511be4;
}
CSS variables
:root {
  --color-primary: #511be4;
  --color-primary-rgb: 81 27 228;
  --color-primary-hsl: 256 79% 50%;
}
Gradient
.gradient-511be4 {
  background: linear-gradient(135deg, #511be4, #b51be4);
}
Colored shadow
.shadow-511be4 {
  box-shadow: 0 8px 24px rgb(81 27 228 / 0.35);
}

Han Purple
#511be4  rgb(81, 27, 228)  hsl(256, 79%, 50%)  Han Purple
#aee41b  rgb(174, 228, 27)  hsl(76, 79%, 50%)  Inchworm
#e4511b  rgb(228, 81, 27)  hsl(16, 79%, 50%)  Flame
#1be451  rgb(27, 228, 81)  hsl(136, 79%, 50%)  Malachite