#7D31B9

#7d31b9 ≈ Dark Violet

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

#7d31b9 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 49.02% red, 19.22% green and 72.55% blue; printed in CMYK it uses 32.43% cyan, 73.51% magenta, 0% yellow and 27.45% black. Its hue angle is 273.53°, with 58.12% saturation and 45.88% 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 6.97:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 5.08.

Description generated from the measured properties of this color.

Conversions of #7d31b9 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.1006

Readable text 6.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #694c8a ≈ 0.001% of males
Protanopia #0057bd ≈ 1.01% of males
Deuteranopia #005ab6 ≈ 1.27% of males
Tritanopia #725272 ≈ 0.0001% of males
Protanomaly #464bbb ≈ 1.08% of males
Deuteranomaly #4e4cb7 ≈ 4.63% of males
Tritanomaly #774794 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7d31b9 {
  color: #7d31b9;
}
Background
.bg-7d31b9 {
  background-color: #7d31b9;
  color: #ffffff;
}
Border
.border-7d31b9 {
  border: 2px solid #7d31b9;
}
CSS variables
:root {
  --color-primary: #7d31b9;
  --color-primary-rgb: 125 49 185;
  --color-primary-hsl: 274 58% 46%;
}
Gradient
.gradient-7d31b9 {
  background: linear-gradient(135deg, #7d31b9, #b931b1);
}
Colored shadow
.shadow-7d31b9 {
  box-shadow: 0 8px 24px rgb(125 49 185 / 0.35);
}

Dark Violet
#7d31b9  rgb(125, 49, 185)  hsl(274, 58%, 46%)  Dark Violet
#6db931  rgb(109, 185, 49)  hsl(94, 58%, 46%)  Kelly Green
#b97d31  rgb(185, 125, 49)  hsl(34, 58%, 46%)  Copper
#31b97d  rgb(49, 185, 125)  hsl(154, 58%, 46%)  Medium Sea Green