HEX Color Conversion

Hex Color Code #660DAA — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #660DAA is converted to RGB values of Red: 102, Green: 13, and Blue: 170. When analyzed under the HSL model, its coordinates correspond to hue angle 274°, 86% 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 #660DAA

When converting #660DAA for CMYK printing, the color separation consists of 40% Cyan, 92% 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 13
Blue Channel 170
Luminance 0.060

HEX #660DAA Color Space Conversions

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

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #660DAA

Small body copy preview

Black Text on Background

Black text readability test with #660DAA

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

Adjacent HEX Color Codes

Copied!