#512AAA

#512aaa ≈ Rebecca Purple

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

#512aaa 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.47% green and 66.67% blue; printed in CMYK it uses 52.35% cyan, 75.29% magenta, 0% yellow and 33.33% black. Its hue angle is 258.28°, with 60.38% saturation and 41.57% 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 9.29:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 5.5.

Description generated from the measured properties of this color.

Conversions of #512aaa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0631

Readable text 9.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #4b3d7b ≈ 0.001% of males
Protanopia #0049ae ≈ 1.01% of males
Deuteranopia #0044a8 ≈ 1.27% of males
Tritanopia #304d68 ≈ 0.0001% of males
Protanomaly #113fac ≈ 1.08% of males
Deuteranomaly #163ba9 ≈ 4.63% of males
Tritanomaly #404287 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-512aaa {
  color: #512aaa;
}
Background
.bg-512aaa {
  background-color: #512aaa;
  color: #ffffff;
}
Border
.border-512aaa {
  border: 2px solid #512aaa;
}
CSS variables
:root {
  --color-primary: #512aaa;
  --color-primary-rgb: 81 42 170;
  --color-primary-hsl: 258 60% 42%;
}
Gradient
.gradient-512aaa {
  background: linear-gradient(135deg, #512aaa, #912aaa);
}
Colored shadow
.shadow-512aaa {
  box-shadow: 0 8px 24px rgb(81 42 170 / 0.35);
}

Rebecca Purple
#512aaa  rgb(81, 42, 170)  hsl(258, 60%, 42%)  Rebecca Purple
#83aa2a  rgb(131, 170, 42)  hsl(78, 60%, 42%)  Apple Green
#aa512a  rgb(170, 81, 42)  hsl(18, 60%, 42%)  Sienna
#2aaa51  rgb(42, 170, 81)  hsl(138, 60%, 42%)  Medium Sea Green