#540DD2

#540dd2 ≈ Ultramarine

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#540dd2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 5.1% green and 82.35% blue; printed in CMYK it uses 60% cyan, 93.81% magenta, 0% yellow and 17.65% black. Its hue angle is 261.62°, with 88.34% saturation and 43.73% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 8.88:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 4.96.

Description generated from the measured properties of this color.

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

Readable text 8.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #4e3a95 ≈ 0.001% of males
Protanopia #004fd7 ≈ 1.01% of males
Deuteranopia #0044cf ≈ 1.27% of males
Tritanopia #00557b ≈ 0.0001% of males
Protanomaly #003ed5 ≈ 1.08% of males
Deuteranomaly #0036d0 ≈ 4.63% of males
Tritanomaly #3343a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540dd2 {
  color: #540dd2;
}
Background
.bg-540dd2 {
  background-color: #540dd2;
  color: #ffffff;
}
Border
.border-540dd2 {
  border: 2px solid #540dd2;
}
CSS variables
:root {
  --color-primary: #540dd2;
  --color-primary-rgb: 84 13 210;
  --color-primary-hsl: 262 88% 44%;
}
Gradient
.gradient-540dd2 {
  background: linear-gradient(135deg, #540dd2, #b70dd2);
}
Colored shadow
.shadow-540dd2 {
  box-shadow: 0 8px 24px rgb(84 13 210 / 0.35);
}

Ultramarine
#540dd2  rgb(84, 13, 210)  hsl(262, 88%, 44%)  Ultramarine
#8bd20d  rgb(139, 210, 13)  hsl(82, 88%, 44%)  Yellow Green
#d2540d  rgb(210, 84, 13)  hsl(22, 88%, 44%)  Burnt Orange
#0dd254  rgb(13, 210, 84)  hsl(142, 88%, 44%)  Malachite