#B31991

#b31991 ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#b31991 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 70.2% red, 9.8% green and 56.86% blue; printed in CMYK it uses 0% cyan, 86.03% magenta, 18.99% yellow and 29.8% black. Its hue angle is 313.25°, with 75.49% saturation and 40% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 6.06:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.72.

Description generated from the measured properties of this color.

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

Readable text 6.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #8a4f78 ≈ 0.001% of males
Protanopia #285394 ≈ 1.01% of males
Deuteranopia #5d6b8e ≈ 1.27% of males
Tritanopia #be2157 ≈ 0.0001% of males
Protanomaly #794393 ≈ 1.08% of males
Deuteranomaly #88558f ≈ 4.63% of males
Tritanomaly #ba1e73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b31991 {
  color: #b31991;
}
Background
.bg-b31991 {
  background-color: #b31991;
  color: #ffffff;
}
Border
.border-b31991 {
  border: 2px solid #b31991;
}
CSS variables
:root {
  --color-primary: #b31991;
  --color-primary-rgb: 179 25 145;
  --color-primary-hsl: 313 75% 40%;
}
Gradient
.gradient-b31991 {
  background: linear-gradient(135deg, #b31991, #b31944);
}
Colored shadow
.shadow-b31991 {
  box-shadow: 0 8px 24px rgb(179 25 145 / 0.35);
}

Medium Violet Red
#b31991  rgb(179, 25, 145)  hsl(313, 75%, 40%)  Medium Violet Red
#19b33b  rgb(25, 179, 59)  hsl(133, 75%, 40%)  Kelly Green
#91b319  rgb(145, 179, 25)  hsl(73, 75%, 40%)  Apple Green
#1991b3  rgb(25, 145, 179)  hsl(193, 75%, 40%)  Bondi Blue