#502BCB

#502bcb ≈ Han Purple

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

#502bcb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.37% red, 16.86% green and 79.61% blue; printed in CMYK it uses 60.59% cyan, 78.82% magenta, 0% yellow and 20.39% black. Its hue angle is 253.88°, with 65.04% saturation and 48.24% 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.24:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.42.

Description generated from the measured properties of this color.

Conversions of #502bcb 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.0775

Readable text 8.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #4f4392 ≈ 0.001% of males
Protanopia #0053cf ≈ 1.01% of males
Deuteranopia #0049c8 ≈ 1.27% of males
Tritanopia #005b7b ≈ 0.0001% of males
Protanomaly #0046ce ≈ 1.08% of males
Deuteranomaly #003fc9 ≈ 4.63% of males
Tritanomaly #2e4ca1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-502bcb {
  color: #502bcb;
}
Background
.bg-502bcb {
  background-color: #502bcb;
  color: #ffffff;
}
Border
.border-502bcb {
  border: 2px solid #502bcb;
}
CSS variables
:root {
  --color-primary: #502bcb;
  --color-primary-rgb: 80 43 203;
  --color-primary-hsl: 254 65% 48%;
}
Gradient
.gradient-502bcb {
  background: linear-gradient(135deg, #502bcb, #a02bcb);
}
Colored shadow
.shadow-502bcb {
  box-shadow: 0 8px 24px rgb(80 43 203 / 0.35);
}

Han Purple
#502bcb  rgb(80, 43, 203)  hsl(254, 65%, 48%)  Han Purple
#a6cb2b  rgb(166, 203, 43)  hsl(74, 65%, 48%)  Yellow Green
#cb502b  rgb(203, 80, 43)  hsl(14, 65%, 48%)  Sinopia
#2bcb50  rgb(43, 203, 80)  hsl(134, 65%, 48%)  Lime Green