What is hex #4841FF color?
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 28% red, 25% green and 100% blue, resulting in rgb(72, 65, 255) and hsl(242, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (72%, 75%, 0%, 0%).
In the HSV/HSB scale, #4841FF features a hue of 242°, 75% saturation, and 100% brightness.
Hex #4841FF Color Codes & Conversions
| Closest Named Color | Royal Blue (#4169E1) |
| Hex Code | #4841FF |
| Hex8 (RGBA Hex) | #4841FFFF |
| RGB (CSS) | rgb(72, 65, 255) |
| RGBA (CSS) | rgba(72, 65, 255, 1) |
| HSL (CSS) | hsl(242, 100%, 63%) |
| HSLA (CSS) | hsla(242, 100%, 63%, 1) |
| HSV / HSB | (242°, 75%, 100%) |
| CMYK Values | (72%, 75%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(52.4% 0.267 273.8) |
| CIE-LAB (D65) | 41.81, 60.62, -91.97 |
| CIE XYZ | 22.61, 12.38, 95.79 |
| Decimal / Binary |
4735487
01001000 01000001 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #4841FF 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 #4841FF
Sample preview of readable typography on top of #4841FF.
Black Text on #4841FF
Sample preview of readable typography on top of #4841FF.
HTML / CSS Live Previews & Snippets for #4841FF
Preview #4841FF in real UI elements and copy ready-to-use CSS rules.
background-color: #4841FF;
color: #4841FF;
border: 2px solid #4841FF;
:root {
--color-primary: #4841FF;
--color-primary-rgb: 72, 65, 255;
--color-complementary: #F8FF41;
}
.btn-accent {
background-color: #4841FF;
color: #ffffff;
}
Hex #4841FF Color Palettes
Complementary Palette
The complementary color of #4841FF is #F8FF41. 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 #4841FF pairs with #4199FF and #A741FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #4841FF pairs with #99FF41 and #FFA741, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #4841FF uses #41FF48 and #FF4841, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #4841FF combines #FF4841, #F8FF41 and #41F8FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #4841FF pairs with #FF4199, #F8FF41 and #41FFA7 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #4841FF
Tints
Tints are created by mixing #4841FF with white, producing lighter variations.
Tones
Tones are created by mixing #4841FF with gray, softening saturation.
Shades
Shades result from mixing #4841FF with black, creating deeper variations.
Hex #4841FF in Programming & CSS Frameworks
Copy the exact syntax for #4841FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #4841FF |
| Tailwind CSS | bg-[#4841FF] text-[#4841FF] |
| Java (AWT) | new Color(72,65,255); |
| Python | Color("#4841FF") |
| .NET (C#) | Color.FromArgb(255, 72,65,255); |
| Swift / iOS | UIColor(red: 0.28, green: 0.25, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(72, 65, 255) |