Ultra Violet Hex Code — #5F4B8B

RGB, HSL, and CMYK values for Ultra Violet.

Last updated: April 6, 2026

Ultra Violet Color Values

FormatValue
HEX#5F4B8B
RGBrgb(95, 75, 139)
HSLhsl(259, 30%, 42%)
CMYKcmyk(32%, 46%, 0%, 45%)
Want to explore more shades? Use our Color Converter

About Ultra Violet

Color psychology: Originality, ingenuity.

Ultra Violet (#5F4B8B) is a medium shade of purple with a hue angle of 259° on the color wheel, 30% saturation, and 42% lightness. It's commonly used in web design, graphic design, and branding where originality, ingenuity are desired associations.

In color theory, Ultra Violet sits in the cool section of the spectrum. Its low saturation creates a muted, understated tone — great for backgrounds, borders, and subtle UI elements.

When to Use Ultra Violet in Design

Web Design

Use Ultra Violet for headings, links, or accent elements against light backgrounds. Dark colors like this provide strong contrast and draw the eye to important content.

Branding & Logo

Ultra Violet conveys originality, ingenuity — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.

Print Design

Use the CMYK values (C:32% M:46% Y:0% K:45%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.

UI / UX Design

Dark colors like Ultra Violet are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.

How to Use Ultra Violet in CSS

/* Using HEX */
color: #5F4B8B;
background-color: #5F4B8B;

/* Using RGB */
color: rgb(95, 75, 139);

/* Using HSL — best for creating variations */
color: hsl(259, 30%, 42%);

/* Transparent overlay (50% opacity) */
background-color: rgba(95, 75, 139, 0.5);

/* Lighter variant for hover states */
background-color: hsl(259, 30%, 52%);

/* Darker variant for active states */
background-color: hsl(259, 30%, 32%);

HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Ultra Violet without changing its core hue or saturation.

Colors That Go With Ultra Violet

Complementary

Analogous

Triadic

Similar Shades of Purple

Frequently Asked Questions

What is the hex code for Ultra Violet?
The hex color code for Ultra Violet is #5F4B8B. In CSS, apply it as text color with color: #5F4B8B;, as a background with background-color: #5F4B8B;, or as a border with border-color: #5F4B8B;. Hex is the most widely used color notation on the web because it is compact, supported by every browser, and easy to copy between design tools like Figma, Photoshop, and code editors.
What is Ultra Violet in RGB and when should I use RGB?
Ultra Violet in RGB is rgb(95, 75, 139), where Red=95, Green=75, and Blue=139 on a 0-255 scale. Use RGB when you need transparency — rgba(95, 75, 139, 0.5) creates a 50% transparent version. RGB is also the native format for HTML canvas, WebGL, and JavaScript image manipulation, since each channel represents the intensity of that primary light color on screen displays.
How to use Ultra Violet in CSS with different color formats?
Ultra Violet can be applied in CSS using multiple formats: (1) Hex: color: #5F4B8B; — most compact and widely used. (2) RGB: color: rgb(95, 75, 139); — useful when calculating colors dynamically in JavaScript. (3) HSL: color: hsl(259, 30%, 42%); — best for creating variations, since adjusting lightness produces lighter or darker shades while keeping the same hue. (4) With transparency: rgba(95, 75, 139, 0.8); or hsla(259, 30%, 42%, 0.8); for 80% opacity overlays.
What is the HSL value of Ultra Violet and why is HSL useful for designers?
Ultra Violet in HSL is hsl(259, 30%, 42%). HSL stands for Hue (259 degrees on the color wheel), Saturation (30% color intensity), and Lightness (42% brightness). HSL is the most intuitive format for designers because you can create harmonious palettes by rotating the hue, generate hover effects by increasing lightness by 10%, and desaturate colors by reducing the S value. This makes Ultra Violet a medium, muted cool-toned color.
What is the CMYK value of Ultra Violet for print design?
Ultra Violet in CMYK is C:32% M:46% Y:0% K:45%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the standard color model for professional printing — business cards, brochures, merchandise, and packaging. When designing for print in Adobe InDesign or Illustrator, use these exact CMYK values to ensure accurate color reproduction. Screen colors (RGB) often appear more vibrant than their printed CMYK equivalents, so always request a physical proof for brand-critical materials.
What colors pair well with Ultra Violet in design projects?
Purple pairs elegantly with gold, silver, and soft pinks. Dark purple with white creates a premium feel. In tech branding, purple signals creativity and innovation.
Is Ultra Violet (#5F4B8B) accessible for web design and WCAG compliant?
Most medium purples fail WCAG contrast requirements on white. Use dark purple (#4A148C or darker) for text, and reserve lighter purples for decorative or background elements only. For Ultra Violet specifically: as a medium shade (lightness: 42%), it can work as a text color on light backgrounds, but verify the exact contrast ratio using a contrast checker tool. WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (18px+ bold or 24px+ regular).

Was this page helpful?

Written by

Tamanna Tasnim

Senior Full Stack Developer

ToolsContainerDhaka, Bangladesh5+ years experiencetasnim@toolscontainer.comwww.toolscontainer.com

Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.