#403157

#403157 ≈ Dark Slate Blue

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

#403157 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 19.22% green and 34.12% blue; printed in CMYK it uses 26.44% cyan, 43.68% magenta, 0% yellow and 65.88% black. Its hue angle is 263.68°, with 27.94% saturation and 26.67% 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.7:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 11.2.

Description generated from the measured properties of this color.

Conversions of #403157 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.0397

Readable text 11.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #383838 ≈ 0.003% of males
Achromatomaly #3b3546 ≈ 0.001% of males
Protanopia #273858 ≈ 1.01% of males
Deuteranopia #2a3856 ≈ 1.27% of males
Tritanopia #3c373f ≈ 0.0001% of males
Protanomaly #333558 ≈ 1.08% of males
Deuteranomaly #343556 ≈ 4.63% of males
Tritanomaly #3e354a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-403157 {
  color: #403157;
}
Background
.bg-403157 {
  background-color: #403157;
  color: #ffffff;
}
Border
.border-403157 {
  border: 2px solid #403157;
}
CSS variables
:root {
  --color-primary: #403157;
  --color-primary-rgb: 64 49 87;
  --color-primary-hsl: 264 28% 27%;
}
Gradient
.gradient-403157 {
  background: linear-gradient(135deg, #403157, #533157);
}
Colored shadow
.shadow-403157 {
  box-shadow: 0 8px 24px rgb(64 49 87 / 0.35);
}

Dark Slate Blue
#403157  rgb(64, 49, 87)  hsl(264, 28%, 27%)  Dark Slate Blue
#485731  rgb(72, 87, 49)  hsl(84, 28%, 27%)  Army Green
#574031  rgb(87, 64, 49)  hsl(24, 28%, 27%)  Taupe
#315740  rgb(49, 87, 64)  hsl(144, 28%, 27%)  Hunter Green