#5A23DE

#5a23de ≈ Han Purple

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

#5a23de is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 13.73% green and 87.06% blue; printed in CMYK it uses 59.46% cyan, 84.23% magenta, 0% yellow and 12.94% black. Its hue angle is 257.65°, with 73.91% saturation and 50.39% 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.69:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.02.

Description generated from the measured properties of this color.

Conversions of #5a23de 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.0865

Readable text 7.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #56449e ≈ 0.001% of males
Protanopia #0058e3 ≈ 1.01% of males
Deuteranopia #004ddb ≈ 1.27% of males
Tritanopia #005f85 ≈ 0.0001% of males
Protanomaly #0048e1 ≈ 1.08% of males
Deuteranomaly #0040dc ≈ 4.63% of males
Tritanomaly #374eb0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a23de {
  color: #5a23de;
}
Background
.bg-5a23de {
  background-color: #5a23de;
  color: #ffffff;
}
Border
.border-5a23de {
  border: 2px solid #5a23de;
}
CSS variables
:root {
  --color-primary: #5a23de;
  --color-primary-rgb: 90 35 222;
  --color-primary-hsl: 258 74% 50%;
}
Gradient
.gradient-5a23de {
  background: linear-gradient(135deg, #5a23de, #b823de);
}
Colored shadow
.shadow-5a23de {
  box-shadow: 0 8px 24px rgb(90 35 222 / 0.35);
}

Han Purple
#5a23de  rgb(90, 35, 222)  hsl(258, 74%, 50%)  Han Purple
#a7de23  rgb(167, 222, 35)  hsl(78, 74%, 50%)  Yellow Green
#de5a23  rgb(222, 90, 35)  hsl(18, 74%, 50%)  Flame
#23de5a  rgb(35, 222, 90)  hsl(138, 74%, 50%)  Malachite