#4C2CC2

#4c2cc2 ≈ Ocean Blue

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

#4c2cc2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.8% red, 17.25% green and 76.08% blue; printed in CMYK it uses 60.82% cyan, 77.32% magenta, 0% yellow and 23.92% black. Its hue angle is 252.8°, with 63.03% saturation and 46.67% 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.58:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.41.

Description generated from the measured properties of this color.

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

Readable text 8.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #4c418b ≈ 0.001% of males
Protanopia #0051c6 ≈ 1.01% of males
Deuteranopia #0047bf ≈ 1.27% of males
Tritanopia #005876 ≈ 0.0001% of males
Protanomaly #0045c5 ≈ 1.08% of males
Deuteranomaly #003ec0 ≈ 4.63% of males
Tritanomaly #2b4a9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c2cc2 {
  color: #4c2cc2;
}
Background
.bg-4c2cc2 {
  background-color: #4c2cc2;
  color: #ffffff;
}
Border
.border-4c2cc2 {
  border: 2px solid #4c2cc2;
}
CSS variables
:root {
  --color-primary: #4c2cc2;
  --color-primary-rgb: 76 44 194;
  --color-primary-hsl: 253 63% 47%;
}
Gradient
.gradient-4c2cc2 {
  background: linear-gradient(135deg, #4c2cc2, #972cc2);
}
Colored shadow
.shadow-4c2cc2 {
  box-shadow: 0 8px 24px rgb(76 44 194 / 0.35);
}

Ocean Blue
#4c2cc2  rgb(76, 44, 194)  hsl(253, 63%, 47%)  Ocean Blue
#a2c22c  rgb(162, 194, 44)  hsl(73, 63%, 47%)  Yellow Green
#c24c2c  rgb(194, 76, 44)  hsl(13, 63%, 47%)  Sinopia
#2cc24c  rgb(44, 194, 76)  hsl(133, 63%, 47%)  Lime Green