#5F06EA

#5f06ea ≈ Han Purple

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

#5f06ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 2.35% green and 91.76% blue; printed in CMYK it uses 59.4% cyan, 97.44% magenta, 0% yellow and 8.24% black. Its hue angle is 263.42°, with 95% saturation and 47.06% 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 7.78:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.51.

Description generated from the measured properties of this color.

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

Readable text 7.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5840a6 ≈ 0.001% of males
Protanopia #0057ef ≈ 1.01% of males
Deuteranopia #004ce7 ≈ 1.27% of males
Tritanopia #005f89 ≈ 0.0001% of males
Protanomaly #0044ed ≈ 1.08% of males
Deuteranomaly #003be8 ≈ 4.63% of males
Tritanomaly #3b4ab8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f06ea {
  color: #5f06ea;
}
Background
.bg-5f06ea {
  background-color: #5f06ea;
  color: #ffffff;
}
Border
.border-5f06ea {
  border: 2px solid #5f06ea;
}
CSS variables
:root {
  --color-primary: #5f06ea;
  --color-primary-rgb: 95 6 234;
  --color-primary-hsl: 263 95% 47%;
}
Gradient
.gradient-5f06ea {
  background: linear-gradient(135deg, #5f06ea, #d106ea);
}
Colored shadow
.shadow-5f06ea {
  box-shadow: 0 8px 24px rgb(95 6 234 / 0.35);
}

Han Purple
#5f06ea  rgb(95, 6, 234)  hsl(263, 95%, 47%)  Han Purple
#91ea06  rgb(145, 234, 6)  hsl(83, 95%, 47%)  Spring Bud
#ea5f06  rgb(234, 95, 6)  hsl(23, 95%, 47%)  Persimmon
#06ea5f  rgb(6, 234, 95)  hsl(143, 95%, 47%)  Malachite