#6F31CD

#6f31cd ≈ Blue Violet

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

#6f31cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 43.53% red, 19.22% green and 80.39% blue; printed in CMYK it uses 45.85% cyan, 76.1% magenta, 0% yellow and 19.61% black. Its hue angle is 263.85°, with 61.42% saturation and 49.8% 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 7.01:1 (WCAG AAA). The closest named color is Blue Violet (#8a2be2), ΔE 4.89.

Description generated from the measured properties of this color.

Conversions of #6f31cd 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.0998

Readable text 7.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #634c96 ≈ 0.001% of males
Protanopia #005ad1 ≈ 1.01% of males
Deuteranopia #0056ca ≈ 1.27% of males
Tritanopia #545c7e ≈ 0.0001% of males
Protanomaly #294dd0 ≈ 1.08% of males
Deuteranomaly #314acb ≈ 4.63% of males
Tritanomaly #604ea3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6f31cd {
  color: #6f31cd;
}
Background
.bg-6f31cd {
  background-color: #6f31cd;
  color: #ffffff;
}
Border
.border-6f31cd {
  border: 2px solid #6f31cd;
}
CSS variables
:root {
  --color-primary: #6f31cd;
  --color-primary-rgb: 111 49 205;
  --color-primary-hsl: 264 61% 50%;
}
Gradient
.gradient-6f31cd {
  background: linear-gradient(135deg, #6f31cd, #bd31cd);
}
Colored shadow
.shadow-6f31cd {
  box-shadow: 0 8px 24px rgb(111 49 205 / 0.35);
}

Blue Violet
#6f31cd  rgb(111, 49, 205)  hsl(264, 61%, 50%)  Blue Violet
#8fcd31  rgb(143, 205, 49)  hsl(84, 61%, 50%)  Yellow Green
#cd6f31  rgb(205, 111, 49)  hsl(24, 61%, 50%)  Chocolate
#31cd6f  rgb(49, 205, 111)  hsl(144, 61%, 50%)  Emerald