#522DAD

#522dad ≈ Ocean Blue

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

#522dad is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.16% red, 17.65% green and 67.84% blue; printed in CMYK it uses 52.6% cyan, 73.99% magenta, 0% yellow and 32.16% black. Its hue angle is 257.34°, 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 8.98:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.45.

Description generated from the measured properties of this color.

Conversions of #522dad 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.0669

Readable text 8.98: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 #4d407e ≈ 0.001% of males
Protanopia #004cb1 ≈ 1.01% of males
Deuteranopia #0046ab ≈ 1.27% of males
Tritanopia #30506a ≈ 0.0001% of males
Protanomaly #1341af ≈ 1.08% of males
Deuteranomaly #173dac ≈ 4.63% of males
Tritanomaly #40448a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#522dad  rgb(82, 45, 173)  hsl(257, 59%, 43%)  Ocean Blue
#88ad2d  rgb(136, 173, 45)  hsl(77, 59%, 43%)  Apple Green
#ad522d  rgb(173, 82, 45)  hsl(17, 59%, 43%)  Sienna
#2dad52  rgb(45, 173, 82)  hsl(137, 59%, 43%)  Medium Sea Green