#512CD3

#512cd3 ≈ Han Purple

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

#512cd3 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 17.25% green and 82.75% blue; printed in CMYK it uses 61.61% cyan, 79.15% magenta, 0% yellow and 17.25% black. Its hue angle is 253.29°, with 65.49% saturation and 50% 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.92:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.48.

Description generated from the measured properties of this color.

Conversions of #512cd3 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.0825

Readable text 7.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #514597 ≈ 0.001% of males
Protanopia #0056d8 ≈ 1.01% of males
Deuteranopia #004bd0 ≈ 1.27% of males
Tritanopia #005e80 ≈ 0.0001% of males
Protanomaly #0049d6 ≈ 1.08% of males
Deuteranomaly #0041d1 ≈ 4.63% of males
Tritanomaly #2b4fa8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-512cd3 {
  color: #512cd3;
}
Background
.bg-512cd3 {
  background-color: #512cd3;
  color: #ffffff;
}
Border
.border-512cd3 {
  border: 2px solid #512cd3;
}
CSS variables
:root {
  --color-primary: #512cd3;
  --color-primary-rgb: 81 44 211;
  --color-primary-hsl: 253 65% 50%;
}
Gradient
.gradient-512cd3 {
  background: linear-gradient(135deg, #512cd3, #a42cd3);
}
Colored shadow
.shadow-512cd3 {
  box-shadow: 0 8px 24px rgb(81 44 211 / 0.35);
}

Han Purple
#512cd3  rgb(81, 44, 211)  hsl(253, 65%, 50%)  Han Purple
#aed32c  rgb(174, 211, 44)  hsl(73, 65%, 50%)  Yellow Green
#d3512c  rgb(211, 81, 44)  hsl(13, 65%, 50%)  Flame
#2cd351  rgb(44, 211, 81)  hsl(133, 65%, 50%)  Malachite