#310B8C

#310b8c ≈ Persian Indigo

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#310b8c is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 19.22% red, 4.31% green and 54.9% blue; printed in CMYK it uses 65% cyan, 92.14% magenta, 0% yellow and 45.1% black. Its hue angle is 257.67°, with 85.43% saturation and 29.61% 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 luxury branding. White text on this color reaches a contrast ratio of 13.49:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.93.

Description generated from the measured properties of this color.

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

Readable text 13.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2e2e2e ≈ 0.003% of males
Achromatomaly #302462 ≈ 0.001% of males
Protanopia #00328f ≈ 1.01% of males
Deuteranopia #002a8a ≈ 1.27% of males
Tritanopia #003851 ≈ 0.0001% of males
Protanomaly #00278e ≈ 1.08% of males
Deuteranomaly #00218b ≈ 4.63% of males
Tritanomaly #142c6d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-310b8c {
  color: #310b8c;
}
Background
.bg-310b8c {
  background-color: #310b8c;
  color: #ffffff;
}
Border
.border-310b8c {
  border: 2px solid #310b8c;
}
CSS variables
:root {
  --color-primary: #310b8c;
  --color-primary-rgb: 49 11 140;
  --color-primary-hsl: 258 85% 30%;
}
Gradient
.gradient-310b8c {
  background: linear-gradient(135deg, #310b8c, #710b8c);
}
Colored shadow
.shadow-310b8c {
  box-shadow: 0 8px 24px rgb(49 11 140 / 0.35);
}

Persian Indigo
#310b8c  rgb(49, 11, 140)  hsl(258, 85%, 30%)  Persian Indigo
#668c0b  rgb(102, 140, 11)  hsl(78, 85%, 30%)  Olive Drab
#8c310b  rgb(140, 49, 11)  hsl(18, 85%, 30%)  Kobe
#0b8c31  rgb(11, 140, 49)  hsl(138, 85%, 30%)  Forest Green