HEX Color Conversion

Hex Color Code #660FAA — RGB & HSL Conversions

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

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

What are the RGB and HSL conversion values for #660FAA?

In the digital sRGB color space, the hex value #660FAA is converted to RGB values of Red: 102, Green: 15, and Blue: 170. When analyzed under the HSL model, its coordinates correspond to hue angle 274°, 84% saturation, and 36% lightness. This makes it visually a dark, rich color with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #660FAA

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

Red Channel 102
Green Channel 15
Blue Channel 170
Luminance 0.061

HEX #660FAA Color Space Conversions

Click to copy format
HEX Color Code #660FAA
RGB (Red Green Blue) rgb(102, 15, 170)
HSL (Hue Sat Light) hsl(274°, 84%, 36%)
CMYK (Commercial Print) cmyk(40%, 91%, 0%, 33%)
HSV / HSB Values hsv(274°, 91%, 67%)
Decimal Color Code 6688682
CSS Custom Variable --color-hex: #660FAA;
Tailwind CSS Utility bg-[#660FAA]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #660FAA

Small body copy preview

Black Text on Background

Black text readability test with #660FAA

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 #660FAA */
--color-hex: #660FAA;
--color-rgb: rgb(102, 15, 170);
--color-hsl: hsl(274deg, 84%, 36%);

Adjacent HEX Color Codes

Copied!