What is hex #DB28FF color?

 
The hex code #DB28FF is closest to the named color Electric Purple (#BF00FF).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 86% red, 16% green and 100% blue, resulting in rgb(219, 40, 255) and hsl(290, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (14%, 84%, 0%, 0%).
In the HSV/HSB scale, #DB28FF features a hue of 290°, 84% saturation, and 100% brightness.

Hex #DB28FF Color Codes & Conversions

Closest Named Color
Electric Purple (#BF00FF)
Hex Code #DB28FF
Hex8 (RGBA Hex) #DB28FFFF
RGB (CSS) rgb(219, 40, 255)
RGBA (CSS) rgba(219, 40, 255, 1)
HSL (CSS) hsl(290, 100%, 58%)
HSLA (CSS) hsla(290, 100%, 58%, 1)
HSV / HSB (290°, 84%, 100%)
CMYK Values (14%, 84%, 0%, 0%)
OKLCH (Modern CSS) oklch(66.0% 0.297 319.7)
CIE-LAB (D65) 55.89, 88.37, -68.27
CIE XYZ 48.02, 23.80, 96.65
Decimal / Binary 14362879
11011011 00101000 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC33FF
Inverse Color
#24D700
Complementary Color
#4CFF28
Closest Pantone®
Pantone 807 C
Closest RAL
RAL 4010 [Telemagenta]

#DB28FF Grayscale Equivalents

Average
#ABABAB
Lightness (Desaturation)
#949494
Weighted (BT601)
#767676
Luma (BT709)
#5E5E5E

WCAG 2.1 Color Contrast & Accessibility

Check how #DB28FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #DB28FF

Sample preview of readable typography on top of #DB28FF.

Contrast Ratio: 3.65:1
AA Fail AAA Fail

Black Text on #DB28FF

Sample preview of readable typography on top of #DB28FF.

Contrast Ratio: 5.76:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #DB28FF

Preview #DB28FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #DB28FF;
Typography Color Preview
color: #DB28FF;
Border & Shadow Preview
border: 2px solid #DB28FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #DB28FF;
  --color-primary-rgb: 219, 40, 255;
  --color-complementary: #4CFF28;
}
.btn-accent {
  background-color: #DB28FF;
  color: #000000;
}

Hex #DB28FF Color Palettes

Complementary Palette

The complementary color of #DB28FF is #4CFF28. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #DB28FF pairs with #6F28FF and #FF28B7, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #DB28FF pairs with #28FF6F and #B7FF28, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #DB28FF uses #28FFDB and #FFDB28, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #DB28FF combines #FFDB28, #4CFF28 and #284CFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #DB28FF pairs with #FF6F28, #4CFF28 and #28B7FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #DB28FF

Tints

Tints are created by mixing #DB28FF with white, producing lighter variations.

Tones

Tones are created by mixing #DB28FF with gray, softening saturation.

Shades

Shades result from mixing #DB28FF with black, creating deeper variations.

Hex #DB28FF in Programming & CSS Frameworks

Copy the exact syntax for #DB28FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #DB28FF
Tailwind CSS bg-[#DB28FF] text-[#DB28FF]
Java (AWT) new Color(219,40,255);
Python Color("#DB28FF")
.NET (C#) Color.FromArgb(255, 219,40,255);
Swift / iOS UIColor(red: 0.86, green: 0.16, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(219, 40, 255)