#4E26CB

#4e26cb ≈ Han Purple

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

#4e26cb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 14.9% green and 79.61% blue; printed in CMYK it uses 61.58% cyan, 81.28% magenta, 0% yellow and 20.39% black. Its hue angle is 254.55°, with 68.46% saturation and 47.25% 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.52:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.48.

Description generated from the measured properties of this color.

Conversions of #4e26cb 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.0732

Readable text 8.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #4d4091 ≈ 0.001% of males
Protanopia #0051cf ≈ 1.01% of males
Deuteranopia #0047c8 ≈ 1.27% of males
Tritanopia #00597a ≈ 0.0001% of males
Protanomaly #0044ce ≈ 1.08% of males
Deuteranomaly #003cc9 ≈ 4.63% of males
Tritanomaly #2a4aa1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e26cb {
  color: #4e26cb;
}
Background
.bg-4e26cb {
  background-color: #4e26cb;
  color: #ffffff;
}
Border
.border-4e26cb {
  border: 2px solid #4e26cb;
}
CSS variables
:root {
  --color-primary: #4e26cb;
  --color-primary-rgb: 78 38 203;
  --color-primary-hsl: 255 68% 47%;
}
Gradient
.gradient-4e26cb {
  background: linear-gradient(135deg, #4e26cb, #a026cb);
}
Colored shadow
.shadow-4e26cb {
  box-shadow: 0 8px 24px rgb(78 38 203 / 0.35);
}

Han Purple
#4e26cb  rgb(78, 38, 203)  hsl(255, 68%, 47%)  Han Purple
#a3cb26  rgb(163, 203, 38)  hsl(75, 68%, 47%)  Yellow Green
#cb4e26  rgb(203, 78, 38)  hsl(15, 68%, 47%)  Sinopia
#26cb4e  rgb(38, 203, 78)  hsl(135, 68%, 47%)  Lime Green