#511FE2

#511fe2 ≈ Han Purple

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

#511fe2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 12.16% green and 88.63% blue; printed in CMYK it uses 64.16% cyan, 86.28% magenta, 0% yellow and 11.37% black. Its hue angle is 255.38°, with 77.08% saturation and 50.39% 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.94:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.72.

Description generated from the measured properties of this color.

Conversions of #511fe2 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.0822

Readable text 7.94:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5142a0 ≈ 0.001% of males
Protanopia #0057e7 ≈ 1.01% of males
Deuteranopia #004adf ≈ 1.27% of males
Tritanopia #006187 ≈ 0.0001% of males
Protanomaly #0047e5 ≈ 1.08% of males
Deuteranomaly #003de0 ≈ 4.63% of males
Tritanomaly #1e4eb3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511fe2 {
  color: #511fe2;
}
Background
.bg-511fe2 {
  background-color: #511fe2;
  color: #ffffff;
}
Border
.border-511fe2 {
  border: 2px solid #511fe2;
}
CSS variables
:root {
  --color-primary: #511fe2;
  --color-primary-rgb: 81 31 226;
  --color-primary-hsl: 255 77% 50%;
}
Gradient
.gradient-511fe2 {
  background: linear-gradient(135deg, #511fe2, #b21fe2);
}
Colored shadow
.shadow-511fe2 {
  box-shadow: 0 8px 24px rgb(81 31 226 / 0.35);
}

Han Purple
#511fe2  rgb(81, 31, 226)  hsl(255, 77%, 50%)  Han Purple
#b0e21f  rgb(176, 226, 31)  hsl(75, 77%, 50%)  June Bud
#e2511f  rgb(226, 81, 31)  hsl(15, 77%, 50%)  Flame
#1fe251  rgb(31, 226, 81)  hsl(135, 77%, 50%)  Malachite