#4E28C3

#4e28c3 ≈ Ocean Blue

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

#4e28c3 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 15.69% green and 76.47% blue; printed in CMYK it uses 60% cyan, 79.49% magenta, 0% yellow and 23.53% black. Its hue angle is 254.71°, with 65.96% saturation and 46.08% 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.69:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 6.12.

Description generated from the measured properties of this color.

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

Readable text 8.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4c408c ≈ 0.001% of males
Protanopia #0050c7 ≈ 1.01% of males
Deuteranopia #0046c0 ≈ 1.27% of males
Tritanopia #005776 ≈ 0.0001% of males
Protanomaly #0043c6 ≈ 1.08% of males
Deuteranomaly #003cc1 ≈ 4.63% of males
Tritanomaly #2f489b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e28c3 {
  color: #4e28c3;
}
Background
.bg-4e28c3 {
  background-color: #4e28c3;
  color: #ffffff;
}
Border
.border-4e28c3 {
  border: 2px solid #4e28c3;
}
CSS variables
:root {
  --color-primary: #4e28c3;
  --color-primary-rgb: 78 40 195;
  --color-primary-hsl: 255 66% 46%;
}
Gradient
.gradient-4e28c3 {
  background: linear-gradient(135deg, #4e28c3, #9c28c3);
}
Colored shadow
.shadow-4e28c3 {
  box-shadow: 0 8px 24px rgb(78 40 195 / 0.35);
}

Ocean Blue
#4e28c3  rgb(78, 40, 195)  hsl(255, 66%, 46%)  Ocean Blue
#9dc328  rgb(157, 195, 40)  hsl(75, 66%, 46%)  Yellow Green
#c34e28  rgb(195, 78, 40)  hsl(15, 66%, 46%)  Sinopia
#28c34e  rgb(40, 195, 78)  hsl(135, 66%, 46%)  Lime Green