HEX Color Conversion

Hex Color Code #654399 — RGB & HSL Conversions

How to use the #654399 color code in HTML & CSS?

To apply the hex color #654399 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #654399; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #654399; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#654399].

What are the RGB and HSL conversion values for #654399?

In the digital sRGB color space, the hex value #654399 is converted to RGB values of Red: 101, Green: 67, and Blue: 153. When analyzed under the HSL model, its coordinates correspond to hue angle 264°, 39% saturation, and 43% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.

CMYK print code settings for #654399

When converting #654399 for CMYK printing, the color separation consists of 34% Cyan, 56% Magenta, 0% Yellow, and 40% key/black. Purple carries luxury, creative thinking, and sophisticated branding connotations, highly recommended for creative studio layouts.

Red Channel 101
Green Channel 67
Blue Channel 153
Luminance 0.091

HEX #654399 Color Space Conversions

Click to copy format
HEX Color Code #654399
RGB (Red Green Blue) rgb(101, 67, 153)
HSL (Hue Sat Light) hsl(264°, 39%, 43%)
CMYK (Commercial Print) cmyk(34%, 56%, 0%, 40%)
HSV / HSB Values hsv(264°, 56%, 60%)
Decimal Color Code 6636441
CSS Custom Variable --color-hex: #654399;
Tailwind CSS Utility bg-[#654399]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #654399

Small body copy preview

Black Text on Background

Black text readability test with #654399

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #654399 */
--color-hex: #654399;
--color-rgb: rgb(101, 67, 153);
--color-hsl: hsl(264deg, 39%, 43%);

Adjacent HEX Color Codes

Copied!