#4E2FAC

#4e2fac ≈ Ocean Blue

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

#4e2fac is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 18.43% green and 67.45% blue; printed in CMYK it uses 54.65% cyan, 72.67% magenta, 0% yellow and 32.55% black. Its hue angle is 254.88°, with 57.08% 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.03:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.

Description generated from the measured properties of this color.

Conversions of #4e2fac 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.0663

Readable text 9.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4b407d ≈ 0.001% of males
Protanopia #004cb0 ≈ 1.01% of males
Deuteranopia #0045aa ≈ 1.27% of males
Tritanopia #26516a ≈ 0.0001% of males
Protanomaly #0f42ae ≈ 1.08% of males
Deuteranomaly #113dab ≈ 4.63% of males
Tritanomaly #3a458a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#4e2fac  rgb(78, 47, 172)  hsl(255, 57%, 43%)  Ocean Blue
#8dac2f  rgb(141, 172, 47)  hsl(75, 57%, 43%)  Apple Green
#ac4e2f  rgb(172, 78, 47)  hsl(15, 57%, 43%)  Sienna
#2fac4e  rgb(47, 172, 78)  hsl(135, 57%, 43%)  Medium Sea Green