#511FE3

#511fe3 ≈ Han Purple

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

#511fe3 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 89.02% blue; printed in CMYK it uses 64.32% cyan, 86.34% magenta, 0% yellow and 10.98% black. Its hue angle is 255.31°, with 77.78% saturation and 50.59% 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.91: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 #511fe3 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.0828

Readable text 7.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5142a1 ≈ 0.001% of males
Protanopia #0057e8 ≈ 1.01% of males
Deuteranopia #004ae0 ≈ 1.27% of males
Tritanopia #006187 ≈ 0.0001% of males
Protanomaly #0047e6 ≈ 1.08% of males
Deuteranomaly #003de1 ≈ 4.63% of males
Tritanomaly #1c4fb3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#511fe3  rgb(81, 31, 227)  hsl(255, 78%, 51%)  Han Purple
#b1e31f  rgb(177, 227, 31)  hsl(75, 78%, 51%)  June Bud
#e3511f  rgb(227, 81, 31)  hsl(15, 78%, 51%)  Flame
#1fe351  rgb(31, 227, 81)  hsl(135, 78%, 51%)  Malachite