#4E2DAD

#4e2dad ≈ Ocean Blue

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

#4e2dad is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 17.65% green and 67.84% blue; printed in CMYK it uses 54.91% cyan, 73.99% magenta, 0% yellow and 32.16% black. Its hue angle is 255.47°, with 58.72% saturation and 42.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 brand accents. White text on this color reaches a contrast ratio of 9.12:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.38.

Description generated from the measured properties of this color.

Conversions of #4e2dad 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.0651

Readable text 9.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #4b3f7d ≈ 0.001% of males
Protanopia #004bb1 ≈ 1.01% of males
Deuteranopia #0045ab ≈ 1.27% of males
Tritanopia #25506a ≈ 0.0001% of males
Protanomaly #0941af ≈ 1.08% of males
Deuteranomaly #0c3cac ≈ 4.63% of males
Tritanomaly #3a448a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e2dad {
  color: #4e2dad;
}
Background
.bg-4e2dad {
  background-color: #4e2dad;
  color: #ffffff;
}
Border
.border-4e2dad {
  border: 2px solid #4e2dad;
}
CSS variables
:root {
  --color-primary: #4e2dad;
  --color-primary-rgb: 78 45 173;
  --color-primary-hsl: 255 59% 43%;
}
Gradient
.gradient-4e2dad {
  background: linear-gradient(135deg, #4e2dad, #8e2dad);
}
Colored shadow
.shadow-4e2dad {
  box-shadow: 0 8px 24px rgb(78 45 173 / 0.35);
}

Ocean Blue
#4e2dad  rgb(78, 45, 173)  hsl(255, 59%, 43%)  Ocean Blue
#8cad2d  rgb(140, 173, 45)  hsl(75, 59%, 43%)  Apple Green
#ad4e2d  rgb(173, 78, 45)  hsl(15, 59%, 43%)  Sienna
#2dad4e  rgb(45, 173, 78)  hsl(135, 59%, 43%)  Medium Sea Green