#4E2AB1

#4e2ab1 ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#4e2ab1 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 16.47% green and 69.41% blue; printed in CMYK it uses 55.93% cyan, 76.27% magenta, 0% yellow and 30.59% black. Its hue angle is 256°, with 61.64% saturation and 42.94% 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 9.17:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.86.

Description generated from the measured properties of this color.

Conversions of #4e2ab1 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.0645

Readable text 9.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #4a3e80 ≈ 0.001% of males
Protanopia #004bb5 ≈ 1.01% of males
Deuteranopia #0044af ≈ 1.27% of males
Tritanopia #21506c ≈ 0.0001% of males
Protanomaly #0040b3 ≈ 1.08% of males
Deuteranomaly #003bb0 ≈ 4.63% of males
Tritanomaly #38448d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e2ab1 {
  color: #4e2ab1;
}
Background
.bg-4e2ab1 {
  background-color: #4e2ab1;
  color: #ffffff;
}
Border
.border-4e2ab1 {
  border: 2px solid #4e2ab1;
}
CSS variables
:root {
  --color-primary: #4e2ab1;
  --color-primary-rgb: 78 42 177;
  --color-primary-hsl: 256 62% 43%;
}
Gradient
.gradient-4e2ab1 {
  background: linear-gradient(135deg, #4e2ab1, #912ab1);
}
Colored shadow
.shadow-4e2ab1 {
  box-shadow: 0 8px 24px rgb(78 42 177 / 0.35);
}

Ocean Blue
#4e2ab1  rgb(78, 42, 177)  hsl(256, 62%, 43%)  Ocean Blue
#8db12a  rgb(141, 177, 42)  hsl(76, 62%, 43%)  Apple Green
#b14e2a  rgb(177, 78, 42)  hsl(16, 62%, 43%)  Rust
#2ab14e  rgb(42, 177, 78)  hsl(136, 62%, 43%)  Medium Sea Green