#402C58

#402c58 ≈ Dark Slate Blue

  • violet
  • Lightness: low
  • Saturation: muted
  • Cool

#402c58 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 17.25% green and 34.51% blue; printed in CMYK it uses 27.27% cyan, 50% magenta, 0% yellow and 65.49% black. Its hue angle is 267.27°, with 33.33% saturation and 25.88% 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 12.22:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 10.8.

Description generated from the measured properties of this color.

Conversions of #402c58 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.036

Readable text 12.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #3a3246 ≈ 0.001% of males
Protanopia #20355a ≈ 1.01% of males
Deuteranopia #253557 ≈ 1.27% of males
Tritanopia #3c343d ≈ 0.0001% of males
Protanomaly #303159 ≈ 1.08% of males
Deuteranomaly #323257 ≈ 4.63% of males
Tritanomaly #3e3149 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-402c58 {
  color: #402c58;
}
Background
.bg-402c58 {
  background-color: #402c58;
  color: #ffffff;
}
Border
.border-402c58 {
  border: 2px solid #402c58;
}
CSS variables
:root {
  --color-primary: #402c58;
  --color-primary-rgb: 64 44 88;
  --color-primary-hsl: 267 33% 26%;
}
Gradient
.gradient-402c58 {
  background: linear-gradient(135deg, #402c58, #562c58);
}
Colored shadow
.shadow-402c58 {
  box-shadow: 0 8px 24px rgb(64 44 88 / 0.35);
}

Dark Slate Blue
#402c58  rgb(64, 44, 88)  hsl(267, 33%, 26%)  Dark Slate Blue
#44582c  rgb(68, 88, 44)  hsl(87, 33%, 26%)  Army Green
#58402c  rgb(88, 64, 44)  hsl(27, 33%, 26%)  Coffee
#2c5840  rgb(44, 88, 64)  hsl(147, 33%, 26%)  Hunter Green