#2F017F

#2f017f ≈ Persian Indigo

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#2f017f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.43% red, 0.39% green and 49.8% blue; printed in CMYK it uses 62.99% cyan, 99.21% magenta, 0% yellow and 50.2% black. Its hue angle is 261.9°, with 98.44% saturation and 25.1% 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 14.67:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.47.

Description generated from the measured properties of this color.

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

Readable text 14.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #2b1e58 ≈ 0.001% of males
Protanopia #002b82 ≈ 1.01% of males
Deuteranopia #00257d ≈ 1.27% of males
Tritanopia #003048 ≈ 0.0001% of males
Protanomaly #002181 ≈ 1.08% of males
Deuteranomaly #001b7e ≈ 4.63% of males
Tritanomaly #192463 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f017f {
  color: #2f017f;
}
Background
.bg-2f017f {
  background-color: #2f017f;
  color: #ffffff;
}
Border
.border-2f017f {
  border: 2px solid #2f017f;
}
CSS variables
:root {
  --color-primary: #2f017f;
  --color-primary-rgb: 47 1 127;
  --color-primary-hsl: 262 98% 25%;
}
Gradient
.gradient-2f017f {
  background: linear-gradient(135deg, #2f017f, #6e017f);
}
Colored shadow
.shadow-2f017f {
  box-shadow: 0 8px 24px rgb(47 1 127 / 0.35);
}

Persian Indigo
#2f017f  rgb(47, 1, 127)  hsl(262, 98%, 25%)  Persian Indigo
#517f01  rgb(81, 127, 1)  hsl(82, 98%, 25%)  Avocado
#7f2f01  rgb(127, 47, 1)  hsl(22, 98%, 25%)  Kobe
#017f2f  rgb(1, 127, 47)  hsl(142, 98%, 25%)  Green