#540AEB

#540aeb ≈ Ultramarine

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

#540aeb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 3.92% green and 92.16% blue; printed in CMYK it uses 64.26% cyan, 95.74% magenta, 0% yellow and 7.84% black. Its hue angle is 259.73°, with 91.84% saturation and 48.04% 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.02:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.28.

Description generated from the measured properties of this color.

Conversions of #540aeb 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.081

Readable text 8.02: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 #523fa6 ≈ 0.001% of males
Protanopia #0057f0 ≈ 1.01% of males
Deuteranopia #0049e8 ≈ 1.27% of males
Tritanopia #00618a ≈ 0.0001% of males
Protanomaly #0044ee ≈ 1.08% of males
Deuteranomaly #0039e9 ≈ 4.63% of males
Tritanomaly #1e4cb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540aeb {
  color: #540aeb;
}
Background
.bg-540aeb {
  background-color: #540aeb;
  color: #ffffff;
}
Border
.border-540aeb {
  border: 2px solid #540aeb;
}
CSS variables
:root {
  --color-primary: #540aeb;
  --color-primary-rgb: 84 10 235;
  --color-primary-hsl: 260 92% 48%;
}
Gradient
.gradient-540aeb {
  background: linear-gradient(135deg, #540aeb, #c40aeb);
}
Colored shadow
.shadow-540aeb {
  box-shadow: 0 8px 24px rgb(84 10 235 / 0.35);
}

Ultramarine
#540aeb  rgb(84, 10, 235)  hsl(260, 92%, 48%)  Ultramarine
#a1eb0a  rgb(161, 235, 10)  hsl(80, 92%, 48%)  Spring Bud
#eb540a  rgb(235, 84, 10)  hsl(20, 92%, 48%)  Persimmon
#0aeb54  rgb(10, 235, 84)  hsl(140, 92%, 48%)  Malachite