#7F4DCB

#7f4dcb ≈ Slate Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#7f4dcb is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 30.2% green and 79.61% blue; printed in CMYK it uses 37.44% cyan, 62.07% magenta, 0% yellow and 20.39% black. Its hue angle is 263.81°, with 54.78% saturation and 54.9% 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 5.49:1 (WCAG AA). The closest named color is Slate Blue (#6a5acd), ΔE 5.56.

Description generated from the measured properties of this color.

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

Readable text 5.49:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #725f9a ≈ 0.001% of males
Protanopia #0069cf ≈ 1.01% of males
Deuteranopia #1168c8 ≈ 1.27% of males
Tritanopia #6d6985 ≈ 0.0001% of males
Protanomaly #4f5fcd ≈ 1.08% of males
Deuteranomaly #545ec9 ≈ 4.63% of males
Tritanomaly #755fa6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f4dcb {
  color: #7f4dcb;
}
Background
.bg-7f4dcb {
  background-color: #7f4dcb;
  color: #ffffff;
}
Border
.border-7f4dcb {
  border: 2px solid #7f4dcb;
}
CSS variables
:root {
  --color-primary: #7f4dcb;
  --color-primary-rgb: 127 77 203;
  --color-primary-hsl: 264 55% 55%;
}
Gradient
.gradient-7f4dcb {
  background: linear-gradient(135deg, #7f4dcb, #be4dcb);
}
Colored shadow
.shadow-7f4dcb {
  box-shadow: 0 8px 24px rgb(127 77 203 / 0.35);
}

Slate Blue
#7f4dcb  rgb(127, 77, 203)  hsl(264, 55%, 55%)  Slate Blue
#99cb4d  rgb(153, 203, 77)  hsl(84, 55%, 55%)  Yellow Green
#cb7f4d  rgb(203, 127, 77)  hsl(24, 55%, 55%)  Raw Sienna
#4dcb7f  rgb(77, 203, 127)  hsl(144, 55%, 55%)  Emerald