#5E1FCB

#5e1fcb ≈ Han Purple

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

#5e1fcb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 36.86% red, 12.16% green and 79.61% blue; printed in CMYK it uses 53.69% cyan, 84.73% magenta, 0% yellow and 20.39% black. Its hue angle is 261.98°, with 73.5% saturation and 45.88% 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.29:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.42.

Description generated from the measured properties of this color.

Conversions of #5e1fcb 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.0767

Readable text 8.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #554091 ≈ 0.001% of males
Protanopia #0051cf ≈ 1.01% of males
Deuteranopia #004ac8 ≈ 1.27% of males
Tritanopia #335679 ≈ 0.0001% of males
Protanomaly #0042ce ≈ 1.08% of males
Deuteranomaly #003dc9 ≈ 4.63% of males
Tritanomaly #4846a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e1fcb {
  color: #5e1fcb;
}
Background
.bg-5e1fcb {
  background-color: #5e1fcb;
  color: #ffffff;
}
Border
.border-5e1fcb {
  border: 2px solid #5e1fcb;
}
CSS variables
:root {
  --color-primary: #5e1fcb;
  --color-primary-rgb: 94 31 203;
  --color-primary-hsl: 262 74% 46%;
}
Gradient
.gradient-5e1fcb {
  background: linear-gradient(135deg, #5e1fcb, #b41fcb);
}
Colored shadow
.shadow-5e1fcb {
  box-shadow: 0 8px 24px rgb(94 31 203 / 0.35);
}

Han Purple
#5e1fcb  rgb(94, 31, 203)  hsl(262, 74%, 46%)  Han Purple
#8ccb1f  rgb(140, 203, 31)  hsl(82, 74%, 46%)  Yellow Green
#cb5e1f  rgb(203, 94, 31)  hsl(22, 74%, 46%)  Burnt Orange
#1fcb5e  rgb(31, 203, 94)  hsl(142, 74%, 46%)  Emerald