#6B309C Color Information

Hex color code: #6B309C

#6B309C is a neutral purple color. In RGB it is (107, 48, 156), and in HSL it is (273°, 53%, 40%). It is commonly used in modern UI design.

Try:
Color NameRebecca Purple
HEX
#6B309C
RGB
107, 48, 156
HSL
273°, 53%, 40%
CMYK
31%, 69%, 0%, 39%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #6B309C; 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 #6B309C; background-color: #6B309C15; }

Alert / Toast

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

Link / Accent

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

a { color: #6B309C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6B309C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

107, 48, 156

Red: 107 / Green: 48 / Blue: 156

HSL

273°, 53%, 40%

Hue: 273° / Saturation: 53% / Lightness: 40%

CMYK

31%, 69%, 0%, 39%

Cyan: 31% / Magenta: 69% / Yellow: 0% / Key: 39%

What color is #6B309C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6B309C to RGB:

rgb(107, 48, 156)HEX to RGB Converter →

HEX to HSL

Convert #6B309C to HSL:

hsl(273, 53%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #6B309C to CMYK:

cmyk(31%, 69%, 0%, 39%)Color Converter →

Color Meaning and Usage

#6B309C is a balanced purple color with RGB values of 107, 48, 156 and HSL of 273°, 53%, 40%. 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 #6B309C is #619C30, creating high-contrast pairings. For softer combinations, try analogous colors like #35309C.

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

Contrast with #6B309C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6B309C?

#6B309C is a balanced purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #6B309C?

#6B309C in RGB is (107, 48, 156) - 107 red, 48 green, and 156 blue.

How to use #6B309C in CSS?

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

What colors go well with #6B309C?

#619C30 (complementary), #35309C (analogous), and #431E62 (lighter shade) work well with #6B309C.