#310A8A

#310a8a ≈ Persian Indigo

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

#310a8a is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 19.22% red, 3.92% green and 54.12% blue; printed in CMYK it uses 64.49% cyan, 92.75% magenta, 0% yellow and 45.88% black. Its hue angle is 258.28°, with 86.49% saturation and 29.02% 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.63:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.7.

Description generated from the measured properties of this color.

Conversions of #310a8a 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.0271

Readable text 13.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2e2e2e ≈ 0.003% of males
Achromatomaly #2f2460 ≈ 0.001% of males
Protanopia #00318d ≈ 1.01% of males
Deuteranopia #002a88 ≈ 1.27% of males
Tritanopia #003750 ≈ 0.0001% of males
Protanomaly #00278c ≈ 1.08% of males
Deuteranomaly #002189 ≈ 4.63% of males
Tritanomaly #162b6c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Indigo
#310a8a  rgb(49, 10, 138)  hsl(258, 86%, 29%)  Persian Indigo
#638a0a  rgb(99, 138, 10)  hsl(78, 86%, 29%)  Olive Drab
#8a310a  rgb(138, 49, 10)  hsl(18, 86%, 29%)  Kobe
#0a8a31  rgb(10, 138, 49)  hsl(138, 86%, 29%)  Forest Green