#540DEA

#540dea ≈ Ultramarine

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

#540dea 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 91.76% blue; printed in CMYK it uses 64.1% cyan, 94.44% magenta, 0% yellow and 8.24% black. Its hue angle is 259.28°, with 89.47% saturation and 48.43% 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.01:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.36.

Description generated from the measured properties of this color.

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

Readable text 8.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #523fa5 ≈ 0.001% of males
Protanopia #0057ef ≈ 1.01% of males
Deuteranopia #0049e7 ≈ 1.27% of males
Tritanopia #00608a ≈ 0.0001% of males
Protanomaly #0044ed ≈ 1.08% of males
Deuteranomaly #0039e8 ≈ 4.63% of males
Tritanomaly #1f4cb8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540dea {
  color: #540dea;
}
Background
.bg-540dea {
  background-color: #540dea;
  color: #ffffff;
}
Border
.border-540dea {
  border: 2px solid #540dea;
}
CSS variables
:root {
  --color-primary: #540dea;
  --color-primary-rgb: 84 13 234;
  --color-primary-hsl: 259 89% 48%;
}
Gradient
.gradient-540dea {
  background: linear-gradient(135deg, #540dea, #c30dea);
}
Colored shadow
.shadow-540dea {
  box-shadow: 0 8px 24px rgb(84 13 234 / 0.35);
}

Ultramarine
#540dea  rgb(84, 13, 234)  hsl(259, 89%, 48%)  Ultramarine
#a3ea0d  rgb(163, 234, 13)  hsl(79, 89%, 48%)  Spring Bud
#ea540d  rgb(234, 84, 13)  hsl(19, 89%, 48%)  Persimmon
#0dea54  rgb(13, 234, 84)  hsl(139, 89%, 48%)  Malachite