#270A6B Color Information

Hex color code: #270A6B

A dramatic purple shade, #270A6B appears as (39, 10, 107) in RGB and (258°, 83%, 23%) in HSL. It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#270A6B
RGB
39, 10, 107
HSL
258°, 83%, 23%
CMYK
64%, 91%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #270A6B; 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 #270A6B; background-color: #270A6B15; }

Alert / Toast

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

Link / Accent

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

a { color: #270A6B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #270A6B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

39, 10, 107

Red: 39 / Green: 10 / Blue: 107

HSL

258°, 83%, 23%

Hue: 258° / Saturation: 83% / Lightness: 23%

CMYK

64%, 91%, 0%, 58%

Cyan: 64% / Magenta: 91% / Yellow: 0% / Key: 58%

What color is #270A6B?

#270A6B is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #270A6B to RGB:

rgb(39, 10, 107)HEX to RGB Converter →

HEX to HSL

Convert #270A6B to HSL:

hsl(258, 83%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #270A6B to CMYK:

cmyk(64%, 91%, 0%, 58%)Color Converter →

Color Meaning and Usage

#270A6B is a deep purple color with RGB values of 39, 10, 107 and HSL of 258°, 83%, 23%. This highly saturated hue evokes energy and excitement, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #270A6B is #4E6B0A, creating high-contrast pairings. For softer combinations, try analogous colors like #0A1D6B.

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

Contrast with #270A6B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #270A6B?

#270A6B is a deep purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #270A6B?

#270A6B in RGB is (39, 10, 107) - 39 red, 10 green, and 107 blue.

How to use #270A6B in CSS?

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

What colors go well with #270A6B?

#4E6B0A (complementary), #0A1D6B (analogous), and #0E0325 (lighter shade) work well with #270A6B.