#5F38EE

#5f38ee ≈ Han Purple

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

#5f38ee is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 21.96% green and 93.33% blue; printed in CMYK it uses 60.08% cyan, 76.47% magenta, 0% yellow and 6.67% black. Its hue angle is 252.86°, with 84.26% saturation and 57.65% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.39:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 4.37.

Description generated from the measured properties of this color.

Conversions of #5f38ee into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1143

Readable text 6.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #5f52ac ≈ 0.001% of males
Protanopia #0065f3 ≈ 1.01% of males
Deuteranopia #0059eb ≈ 1.27% of males
Tritanopia #006d92 ≈ 0.0001% of males
Protanomaly #0056f1 ≈ 1.08% of males
Deuteranomaly #004eec ≈ 4.63% of males
Tritanomaly #375dbe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f38ee {
  color: #5f38ee;
}
Background
.bg-5f38ee {
  background-color: #5f38ee;
  color: #ffffff;
}
Border
.border-5f38ee {
  border: 2px solid #5f38ee;
}
CSS variables
:root {
  --color-primary: #5f38ee;
  --color-primary-rgb: 95 56 238;
  --color-primary-hsl: 253 84% 58%;
}
Gradient
.gradient-5f38ee {
  background: linear-gradient(135deg, #5f38ee, #ba38ee);
}
Colored shadow
.shadow-5f38ee {
  box-shadow: 0 8px 24px rgb(95 56 238 / 0.35);
}

Han Purple
#5f38ee  rgb(95, 56, 238)  hsl(253, 84%, 58%)  Han Purple
#c7ee38  rgb(199, 238, 56)  hsl(73, 84%, 58%)  Electric Lime
#ee5f38  rgb(238, 95, 56)  hsl(13, 84%, 58%)  Tomato
#38ee5f  rgb(56, 238, 95)  hsl(133, 84%, 58%)  Spring Green