#5F1FCA

#5f1fca ≈ Han Purple

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

#5f1fca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 12.16% green and 79.22% blue; printed in CMYK it uses 52.97% cyan, 84.65% magenta, 0% yellow and 20.78% black. Its hue angle is 262.46°, with 73.39% saturation and 45.69% 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.28:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.56.

Description generated from the measured properties of this color.

Conversions of #5f1fca 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.0768

Readable text 8.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #554091 ≈ 0.001% of males
Protanopia #0051ce ≈ 1.01% of males
Deuteranopia #004ac7 ≈ 1.27% of males
Tritanopia #365578 ≈ 0.0001% of males
Protanomaly #0042cd ≈ 1.08% of males
Deuteranomaly #003dc8 ≈ 4.63% of males
Tritanomaly #4a45a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5f1fca  rgb(95, 31, 202)  hsl(262, 73%, 46%)  Han Purple
#8aca1f  rgb(138, 202, 31)  hsl(82, 73%, 46%)  Yellow Green
#ca5f1f  rgb(202, 95, 31)  hsl(22, 73%, 46%)  Burnt Orange
#1fca5f  rgb(31, 202, 95)  hsl(142, 73%, 46%)  Emerald