#0F003D Color Information

Hex color code: #0F003D

The hex color #0F003D is a intense purple with RGB values of (15, 0, 61) and HSL of (255°, 100%, 12%). It is widely used in graphic design.

Try:
Color NameBlack
HEX
#0F003D
RGB
15, 0, 61
HSL
255°, 100%, 12%
CMYK
75%, 100%, 0%, 76%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #0F003D; 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 #0F003D; background-color: #0F003D15; }

Alert / Toast

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

Link / Accent

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

a { color: #0F003D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #0F003D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

15, 0, 61

Red: 15 / Green: 0 / Blue: 61

HSL

255°, 100%, 12%

Hue: 255° / Saturation: 100% / Lightness: 12%

CMYK

75%, 100%, 0%, 76%

Cyan: 75% / Magenta: 100% / Yellow: 0% / Key: 76%

What color is #0F003D?

#0F003D is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #0F003D to RGB:

rgb(15, 0, 61)HEX to RGB Converter →

HEX to HSL

Convert #0F003D to HSL:

hsl(255, 100%, 12%)RGB to HSL Converter →

HEX to CMYK

Convert #0F003D to CMYK:

cmyk(75%, 100%, 0%, 76%)Color Converter →

Color Meaning and Usage

A dramatic purple tone, #0F003D has RGB (15, 0, 61) and HSL (255°, 100%, 12%). Known for evoking sophistication and elegance, this very dark shade is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #0F003D is #2E3D00, creating high-contrast pairings. For softer combinations, try analogous colors like #000F3D.

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

Contrast with #0F003D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #0F003D?

#0F003D is a dramatic purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #0F003D?

#0F003D in RGB is (15, 0, 61) - 15 red, 0 green, and 61 blue.

How to use #0F003D in CSS?

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

What colors go well with #0F003D?

#2E3D00 (complementary), #000F3D (analogous), and #000000 (lighter shade) work well with #0F003D.