#4A2FB2

#4a2fb2 ≈ Ocean Blue

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

#4a2fb2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.02% red, 18.43% green and 69.8% blue; printed in CMYK it uses 58.43% cyan, 73.6% magenta, 0% yellow and 30.2% black. Its hue angle is 252.37°, with 58.22% saturation and 44.12% 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.97:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.8.

Description generated from the measured properties of this color.

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

Readable text 8.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4a4081 ≈ 0.001% of males
Protanopia #004db6 ≈ 1.01% of males
Deuteranopia #0045b0 ≈ 1.27% of males
Tritanopia #0d536e ≈ 0.0001% of males
Protanomaly #0043b4 ≈ 1.08% of males
Deuteranomaly #003db1 ≈ 4.63% of males
Tritanomaly #30478e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4a2fb2 {
  color: #4a2fb2;
}
Background
.bg-4a2fb2 {
  background-color: #4a2fb2;
  color: #ffffff;
}
Border
.border-4a2fb2 {
  border: 2px solid #4a2fb2;
}
CSS variables
:root {
  --color-primary: #4a2fb2;
  --color-primary-rgb: 74 47 178;
  --color-primary-hsl: 252 58% 44%;
}
Gradient
.gradient-4a2fb2 {
  background: linear-gradient(135deg, #4a2fb2, #8c2fb2);
}
Colored shadow
.shadow-4a2fb2 {
  box-shadow: 0 8px 24px rgb(74 47 178 / 0.35);
}

Ocean Blue
#4a2fb2  rgb(74, 47, 178)  hsl(252, 58%, 44%)  Ocean Blue
#97b22f  rgb(151, 178, 47)  hsl(72, 58%, 44%)  Apple Green
#b24a2f  rgb(178, 74, 47)  hsl(12, 58%, 44%)  Rust
#2fb24a  rgb(47, 178, 74)  hsl(132, 58%, 44%)  Medium Sea Green