#4C0DFD

#4c0dfd ≈ Han Purple

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

#4c0dfd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 29.8% red, 5.1% green and 99.22% blue; printed in CMYK it uses 69.96% cyan, 94.86% magenta, 0% yellow and 0.78% black. Its hue angle is 255.75°, with 98.36% saturation and 52.16% 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.55:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.91.

Description generated from the measured properties of this color.

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

Readable text 7.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #5142b2 ≈ 0.001% of males
Protanopia #005dff ≈ 1.01% of males
Deuteranopia #004bf9 ≈ 1.27% of males
Tritanopia #006a95 ≈ 0.0001% of males
Protanomaly #0049ff ≈ 1.08% of males
Deuteranomaly #003bfb ≈ 4.63% of males
Tritanomaly #0053c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c0dfd {
  color: #4c0dfd;
}
Background
.bg-4c0dfd {
  background-color: #4c0dfd;
  color: #ffffff;
}
Border
.border-4c0dfd {
  border: 2px solid #4c0dfd;
}
CSS variables
:root {
  --color-primary: #4c0dfd;
  --color-primary-rgb: 76 13 253;
  --color-primary-hsl: 256 98% 52%;
}
Gradient
.gradient-4c0dfd {
  background: linear-gradient(135deg, #4c0dfd, #c40dfd);
}
Colored shadow
.shadow-4c0dfd {
  box-shadow: 0 8px 24px rgb(76 13 253 / 0.35);
}

Han Purple
#4c0dfd  rgb(76, 13, 253)  hsl(256, 98%, 52%)  Han Purple
#befd0d  rgb(190, 253, 13)  hsl(76, 98%, 52%)  Electric Lime
#fd4c0d  rgb(253, 76, 13)  hsl(16, 98%, 52%)  Orange Red
#0dfd4c  rgb(13, 253, 76)  hsl(136, 98%, 52%)  Lime