#6642AF

A medium, moderate purple closely aligning with Rebeccapurple.

About #6642AF

The hex code #6642AF represents a beautifully specific shade of purple. Its closest recognized web color is Rebeccapurple. To achieve this exact tint on a monitor, you would use an RGB mix of 102, 66, and 175.

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 42% cyan, 62% magenta, 0% yellow, and 31% black. The HSL representation is 259.8° hue, 45.2% saturation, and 47.3% lightness.

When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#6642AF
RGB102, 66, 175
HSL259.8°, 45.2%, 47.3%
CMYK42%, 62%, 0%, 31%
HSV259.8°, 62.3%, 68.6%
LAB37.5, 40.5, -52.9
XYZ15.2, 9.8, 41.7
Decimal6701743

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.09:1
Text on #FFFFFF
AAA
2.96:1
Text on #000000
FAIL
6.77:1
Text on #F8FAFC
AA
2.52:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #6642AF; }
.text-color { color: #6642AF; }
.border-color { border: 2px solid #6642AF; }

Similar Colors

Rebeccapurple
#663399