#512D8D

#512d8d ≈ Rebecca Purple

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#512d8d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 17.65% green and 55.29% blue; printed in CMYK it uses 42.55% cyan, 68.09% magenta, 0% yellow and 44.71% black. Its hue angle is 262.5°, with 51.61% saturation and 36.47% 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.95:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 4.24.

Description generated from the measured properties of this color.

Conversions of #512d8d 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.0555

Readable text 9.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #493b68 ≈ 0.001% of males
Protanopia #004390 ≈ 1.01% of males
Deuteranopia #00418b ≈ 1.27% of males
Tritanopia #424459 ≈ 0.0001% of males
Protanomaly #2b3b8f ≈ 1.08% of males
Deuteranomaly #2f3a8c ≈ 4.63% of males
Tritanomaly #483c71 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-512d8d {
  color: #512d8d;
}
Background
.bg-512d8d {
  background-color: #512d8d;
  color: #ffffff;
}
Border
.border-512d8d {
  border: 2px solid #512d8d;
}
CSS variables
:root {
  --color-primary: #512d8d;
  --color-primary-rgb: 81 45 141;
  --color-primary-hsl: 263 52% 36%;
}
Gradient
.gradient-512d8d {
  background: linear-gradient(135deg, #512d8d, #812d8d);
}
Colored shadow
.shadow-512d8d {
  box-shadow: 0 8px 24px rgb(81 45 141 / 0.35);
}

Rebecca Purple
#512d8d  rgb(81, 45, 141)  hsl(263, 52%, 36%)  Rebecca Purple
#698d2d  rgb(105, 141, 45)  hsl(83, 52%, 36%)  Olive Drab
#8d512d  rgb(141, 81, 45)  hsl(23, 52%, 36%)  Russet
#2d8d51  rgb(45, 141, 81)  hsl(143, 52%, 36%)  Sea Green