#28126F

#28126f ≈ Persian Indigo

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

#28126f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 15.69% red, 7.06% green and 43.53% blue; printed in CMYK it uses 63.96% cyan, 83.78% magenta, 0% yellow and 56.47% black. Its hue angle is 254.19°, with 72.09% saturation and 25.29% 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.93:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.18.

Description generated from the measured properties of this color.

Conversions of #28126f 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.0203

Readable text 14.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #272727 ≈ 0.003% of males
Achromatomaly #27204e ≈ 0.001% of males
Protanopia #002a72 ≈ 1.01% of males
Deuteranopia #00246d ≈ 1.27% of males
Tritanopia #002e41 ≈ 0.0001% of males
Protanomaly #002271 ≈ 1.08% of males
Deuteranomaly #001e6e ≈ 4.63% of males
Tritanomaly #142557 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-28126f {
  color: #28126f;
}
Background
.bg-28126f {
  background-color: #28126f;
  color: #ffffff;
}
Border
.border-28126f {
  border: 2px solid #28126f;
}
CSS variables
:root {
  --color-primary: #28126f;
  --color-primary-rgb: 40 18 111;
  --color-primary-hsl: 254 72% 25%;
}
Gradient
.gradient-28126f {
  background: linear-gradient(135deg, #28126f, #56126f);
}
Colored shadow
.shadow-28126f {
  box-shadow: 0 8px 24px rgb(40 18 111 / 0.35);
}

Persian Indigo
#28126f  rgb(40, 18, 111)  hsl(254, 72%, 25%)  Persian Indigo
#596f12  rgb(89, 111, 18)  hsl(74, 72%, 25%)  Dark Olive Green
#6f2812  rgb(111, 40, 18)  hsl(14, 72%, 25%)  Kobe
#126f28  rgb(18, 111, 40)  hsl(134, 72%, 25%)  Pakistan Green