#42287F

#42287f ≈ Persian Indigo

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

#42287f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.88% red, 15.69% green and 49.8% blue; printed in CMYK it uses 48.03% cyan, 68.5% magenta, 0% yellow and 50.2% black. Its hue angle is 257.93°, with 52.1% saturation and 32.75% 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 corporate identities. White text on this color reaches a contrast ratio of 11.4:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 5.21.

Description generated from the measured properties of this color.

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

Readable text 11.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #3d345d ≈ 0.001% of males
Protanopia #003b82 ≈ 1.01% of males
Deuteranopia #00387d ≈ 1.27% of males
Tritanopia #2f3d50 ≈ 0.0001% of males
Protanomaly #203481 ≈ 1.08% of males
Deuteranomaly #22327e ≈ 4.63% of males
Tritanomaly #383666 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-42287f {
  color: #42287f;
}
Background
.bg-42287f {
  background-color: #42287f;
  color: #ffffff;
}
Border
.border-42287f {
  border: 2px solid #42287f;
}
CSS variables
:root {
  --color-primary: #42287f;
  --color-primary-rgb: 66 40 127;
  --color-primary-hsl: 258 52% 33%;
}
Gradient
.gradient-42287f {
  background: linear-gradient(135deg, #42287f, #6e287f);
}
Colored shadow
.shadow-42287f {
  box-shadow: 0 8px 24px rgb(66 40 127 / 0.35);
}

Persian Indigo
#42287f  rgb(66, 40, 127)  hsl(258, 52%, 33%)  Persian Indigo
#657f28  rgb(101, 127, 40)  hsl(78, 52%, 33%)  Avocado
#7f4228  rgb(127, 66, 40)  hsl(18, 52%, 33%)  Russet
#287f42  rgb(40, 127, 66)  hsl(138, 52%, 33%)  Sea Green