#540ECD

#540ecd ≈ Ultramarine

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

#540ecd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.94% red, 5.49% green and 80.39% blue; printed in CMYK it uses 59.02% cyan, 93.17% magenta, 0% yellow and 19.61% black. Its hue angle is 261.99°, with 87.21% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 9.05:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 5.55.

Description generated from the measured properties of this color.

Conversions of #540ecd 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.0661

Readable text 9.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4d3991 ≈ 0.001% of males
Protanopia #004dd2 ≈ 1.01% of males
Deuteranopia #0043ca ≈ 1.27% of males
Tritanopia #065378 ≈ 0.0001% of males
Protanomaly #003dd0 ≈ 1.08% of males
Deuteranomaly #0035cb ≈ 4.63% of males
Tritanomaly #3642a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540ecd {
  color: #540ecd;
}
Background
.bg-540ecd {
  background-color: #540ecd;
  color: #ffffff;
}
Border
.border-540ecd {
  border: 2px solid #540ecd;
}
CSS variables
:root {
  --color-primary: #540ecd;
  --color-primary-rgb: 84 14 205;
  --color-primary-hsl: 262 87% 43%;
}
Gradient
.gradient-540ecd {
  background: linear-gradient(135deg, #540ecd, #b30ecd);
}
Colored shadow
.shadow-540ecd {
  box-shadow: 0 8px 24px rgb(84 14 205 / 0.35);
}

Ultramarine
#540ecd  rgb(84, 14, 205)  hsl(262, 87%, 43%)  Ultramarine
#87cd0e  rgb(135, 205, 14)  hsl(82, 87%, 43%)  Yellow Green
#cd540e  rgb(205, 84, 14)  hsl(22, 87%, 43%)  Burnt Orange
#0ecd54  rgb(14, 205, 84)  hsl(142, 87%, 43%)  Malachite