#4E37A2

#4e37a2 ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#4e37a2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 21.57% green and 63.53% blue; printed in CMYK it uses 51.85% cyan, 66.05% magenta, 0% yellow and 36.47% black. Its hue angle is 252.9°, with 49.31% saturation and 42.55% 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 brand accents. White text on this color reaches a contrast ratio of 8.78:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.04.

Description generated from the measured properties of this color.

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

Readable text 8.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4c4478 ≈ 0.001% of males
Protanopia #004da5 ≈ 1.01% of males
Deuteranopia #0048a0 ≈ 1.27% of males
Tritanopia #2f5167 ≈ 0.0001% of males
Protanomaly #2345a4 ≈ 1.08% of males
Deuteranomaly #2442a1 ≈ 4.63% of males
Tritanomaly #3d4883 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e37a2 {
  color: #4e37a2;
}
Background
.bg-4e37a2 {
  background-color: #4e37a2;
  color: #ffffff;
}
Border
.border-4e37a2 {
  border: 2px solid #4e37a2;
}
CSS variables
:root {
  --color-primary: #4e37a2;
  --color-primary-rgb: 78 55 162;
  --color-primary-hsl: 253 49% 43%;
}
Gradient
.gradient-4e37a2 {
  background: linear-gradient(135deg, #4e37a2, #8437a2);
}
Colored shadow
.shadow-4e37a2 {
  box-shadow: 0 8px 24px rgb(78 55 162 / 0.35);
}

Ocean Blue
#4e37a2  rgb(78, 55, 162)  hsl(253, 49%, 43%)  Ocean Blue
#8ba237  rgb(139, 162, 55)  hsl(73, 49%, 43%)  Moss Green
#a24e37  rgb(162, 78, 55)  hsl(13, 49%, 43%)  Chestnut
#37a24e  rgb(55, 162, 78)  hsl(133, 49%, 43%)  Shamrock Green