#645274 Color Information

Hex color code: #645274

The hex color #645274 is a subtle purple with RGB values of (100, 82, 116) and HSL of (272°, 17%, 39%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#645274
RGB
100, 82, 116
HSL
272°, 17%, 39%
CMYK
14%, 29%, 0%, 55%

Shades

CSS Usage
color: #645274;
background-color: #645274;
border-color: #645274;
box-shadow: 0 0 10px #645274;
border: 2px solid #645274;
Tailwind Usage
bg-[#645274]
text-[#645274]
border-[#645274]
shadow-[0_0_10px_645274]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #645274, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #645274; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #645274; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #645274; background-color: #64527415; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #64527420; border-left: 4px solid #645274; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #645274; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #645274 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

100, 82, 116

Red: 100 / Green: 82 / Blue: 116

HSL

272°, 17%, 39%

Hue: 272° / Saturation: 17% / Lightness: 39%

CMYK

14%, 29%, 0%, 55%

Cyan: 14% / Magenta: 29% / Yellow: 0% / Key: 55%

What color is #645274?

#645274 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #645274 to RGB:

rgb(100, 82, 116)HEX to RGB Converter →

HEX to HSL

Convert #645274 to HSL:

hsl(272, 17%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #645274 to CMYK:

cmyk(14%, 29%, 0%, 55%)Color Converter →

Color Meaning and Usage

#645274 is a understated purple color with RGB values of 100, 82, 116 and HSL of 272°, 17%, 39%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #645274 is #627453, creating high-contrast pairings. For softer combinations, try analogous colors like #545374.

Use #645274 in CSS: color: #645274 or background-color: #645274. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #645274

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.00:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #645274?

#645274 is a understated purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #645274?

#645274 in RGB is (100, 82, 116) - 100 red, 82 green, and 116 blue.

How to use #645274 in CSS?

Use #645274 directly in your CSS properties like color or background-color.

What colors go well with #645274?

#627453 (complementary), #545374 (analogous), and #3E3348 (lighter shade) work well with #645274.