#512BD3

#512bd3 ≈ Han Purple

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

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

Description generated from the measured properties of this color.

Conversions of #512bd3 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.0818

Readable text 7.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.64: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 #0048d6 ≈ 1.08% of males
Deuteranomaly #0040d1 ≈ 4.63% of males
Tritanomaly #2b4ea8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#512bd3  rgb(81, 43, 211)  hsl(254, 66%, 50%)  Han Purple
#add32b  rgb(173, 211, 43)  hsl(74, 66%, 50%)  Yellow Green
#d3512b  rgb(211, 81, 43)  hsl(14, 66%, 50%)  Flame
#2bd351  rgb(43, 211, 81)  hsl(134, 66%, 50%)  Malachite