#340F5F

#340f5f ≈ Persian Indigo

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

#340f5f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20.39% red, 5.88% green and 37.25% blue; printed in CMYK it uses 45.26% cyan, 84.21% magenta, 0% yellow and 62.75% black. Its hue angle is 267.75°, with 72.73% saturation and 21.57% 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 15.22:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 4.94.

Description generated from the measured properties of this color.

Conversions of #340f5f 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.019

Readable text 15.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #262626 ≈ 0.003% of males
Achromatomaly #2c1e44 ≈ 0.001% of males
Protanopia #002661 ≈ 1.01% of males
Deuteranopia #00255d ≈ 1.27% of males
Tritanopia #292537 ≈ 0.0001% of males
Protanomaly #111e60 ≈ 1.08% of males
Deuteranomaly #161e5e ≈ 4.63% of males
Tritanomaly #2e1e4a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340f5f {
  color: #340f5f;
}
Background
.bg-340f5f {
  background-color: #340f5f;
  color: #ffffff;
}
Border
.border-340f5f {
  border: 2px solid #340f5f;
}
CSS variables
:root {
  --color-primary: #340f5f;
  --color-primary-rgb: 52 15 95;
  --color-primary-hsl: 268 73% 22%;
}
Gradient
.gradient-340f5f {
  background: linear-gradient(135deg, #340f5f, #5c0f5f);
}
Colored shadow
.shadow-340f5f {
  box-shadow: 0 8px 24px rgb(52 15 95 / 0.35);
}

Persian Indigo
#340f5f  rgb(52, 15, 95)  hsl(268, 73%, 22%)  Persian Indigo
#3a5f0f  rgb(58, 95, 15)  hsl(88, 73%, 22%)  Lincoln Green
#5f340f  rgb(95, 52, 15)  hsl(28, 73%, 22%)  Sepia
#0f5f34  rgb(15, 95, 52)  hsl(148, 73%, 22%)  Cadmium Green