#28126B

#28126b ≈ Persian Indigo

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

#28126b 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.96% blue; printed in CMYK it uses 62.62% cyan, 83.18% magenta, 0% yellow and 58.04% black. Its hue angle is 254.83°, with 71.2% saturation and 24.51% 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.12:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.73.

Description generated from the measured properties of this color.

Conversions of #28126b 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.0195

Readable text 15.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #262626 ≈ 0.003% of males
Achromatomaly #27204b ≈ 0.001% of males
Protanopia #00296d ≈ 1.01% of males
Deuteranopia #002369 ≈ 1.27% of males
Tritanopia #002c3f ≈ 0.0001% of males
Protanomaly #00216c ≈ 1.08% of males
Deuteranomaly #001d6a ≈ 4.63% of males
Tritanomaly #172454 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Indigo
#28126b  rgb(40, 18, 107)  hsl(255, 71%, 25%)  Persian Indigo
#556b12  rgb(85, 107, 18)  hsl(75, 71%, 25%)  Dark Olive Green
#6b2812  rgb(107, 40, 18)  hsl(15, 71%, 25%)  Kobe
#126b28  rgb(18, 107, 40)  hsl(135, 71%, 25%)  Cadmium Green