#28126A

#28126a ≈ Persian Indigo

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

#28126a 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 41.57% blue; printed in CMYK it uses 62.26% cyan, 83.02% magenta, 0% yellow and 58.43% black. Its hue angle is 255°, with 70.97% saturation and 24.31% 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.16:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.88.

Description generated from the measured properties of this color.

Conversions of #28126a 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.0192

Readable text 15.16: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 #271f4a ≈ 0.001% of males
Protanopia #00286c ≈ 1.01% of males
Deuteranopia #002368 ≈ 1.27% of males
Tritanopia #012c3e ≈ 0.0001% of males
Protanomaly #00216b ≈ 1.08% of males
Deuteranomaly #001d69 ≈ 4.63% of males
Tritanomaly #172453 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Indigo
#28126a  rgb(40, 18, 106)  hsl(255, 71%, 24%)  Persian Indigo
#546a12  rgb(84, 106, 18)  hsl(75, 71%, 24%)  Dark Olive Green
#6a2812  rgb(106, 40, 18)  hsl(15, 71%, 24%)  Kobe
#126a28  rgb(18, 106, 40)  hsl(135, 71%, 24%)  Cadmium Green