#540DDD

#540ddd ≈ Ultramarine

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

#540ddd 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 86.67% blue; printed in CMYK it uses 61.99% cyan, 94.12% magenta, 0% yellow and 13.33% black. Its hue angle is 260.48°, with 88.89% saturation and 45.88% 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.47:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.68.

Description generated from the measured properties of this color.

Conversions of #540ddd 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.0739

Readable text 8.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #503d9c ≈ 0.001% of males
Protanopia #0052e2 ≈ 1.01% of males
Deuteranopia #0046da ≈ 1.27% of males
Tritanopia #005b82 ≈ 0.0001% of males
Protanomaly #0041e0 ≈ 1.08% of males
Deuteranomaly #0037db ≈ 4.63% of males
Tritanomaly #2b47ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#540ddd  rgb(84, 13, 221)  hsl(260, 89%, 46%)  Ultramarine
#96dd0d  rgb(150, 221, 13)  hsl(80, 89%, 46%)  Yellow Green
#dd540d  rgb(221, 84, 13)  hsl(20, 89%, 46%)  Flame
#0ddd54  rgb(13, 221, 84)  hsl(140, 89%, 46%)  Malachite