#6231DF Color Information

Hex color code: #6231DF

#6231DF is a bold purple color. In RGB it is (98, 49, 223), and in HSL it is (257°, 73%, 53%). It is frequently seen in web interfaces.

Try:
Color NameBlue Violet
HEX
#6231DF
RGB
98, 49, 223
HSL
257°, 73%, 53%
CMYK
56%, 78%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #6231DF; 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 #6231DF; background-color: #6231DF15; }

Alert / Toast

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

Link / Accent

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

a { color: #6231DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6231DF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

98, 49, 223

Red: 98 / Green: 49 / Blue: 223

HSL

257°, 73%, 53%

Hue: 257° / Saturation: 73% / Lightness: 53%

CMYK

56%, 78%, 0%, 13%

Cyan: 56% / Magenta: 78% / Yellow: 0% / Key: 13%

What color is #6231DF?

#6231DF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6231DF to RGB:

rgb(98, 49, 223)HEX to RGB Converter →

HEX to HSL

Convert #6231DF to HSL:

hsl(257, 73%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #6231DF to CMYK:

cmyk(56%, 78%, 0%, 13%)Color Converter →

Color Meaning and Usage

A striking purple tone, #6231DF has RGB (98, 49, 223) and HSL (257°, 73%, 53%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6231DF is #ADDF30, creating high-contrast pairings. For softer combinations, try analogous colors like #3056DF.

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

Contrast with #6231DF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6231DF?

#6231DF is a striking purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #6231DF?

#6231DF in RGB is (98, 49, 223) - 98 red, 49 green, and 223 blue.

How to use #6231DF in CSS?

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

What colors go well with #6231DF?

#ADDF30 (complementary), #3056DF (analogous), and #421AA8 (lighter shade) work well with #6231DF.