#30038E color

#30038E rgb(48, 3, 142)
Shades of purple

The hex color #30038E is a dark, vivid violet.

In the RGB color model it is made of 18.8% red, 1.2% green and 55.7% blue (48, 3, 142).

Its hue angle is 259°, with 96% saturation and 28% lightness. For print, the CMYK equivalent is 66% cyan, 98% magenta, 0% yellow and 44% black.

The closest named color is Dramatic Blue (#240093), a difference of 1.4 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 13.73:1).

#30038E color codes

HEX#30038E
RGBrgb(48, 3, 142)
RGB percentrgb(18.8%, 1.2%, 55.7%)
HSLhsl(259, 96%, 28%)
HSV / HSBhsv(259, 98%, 56%)
CMYKcmyk(66%, 98%, 0%, 44%)
CIE LABlab(18.57, 51.55, -64.12)
CIE LCHlch(18.57, 82.27, 308.8)
CIE XYZxyz(6.132, 2.646, 25.774)
Decimal3146638
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #30038E, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #30038ERatioAAAAAAA large
Sample text1.53:1FailFailFail
Sample text13.73:1PassPassPass
#30038E as text onRatioAAAAAAA large
Sample text13.73:1PassPassPass
Sample text1.53:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #30038E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #30038e; }
.text { color: #30038e; }
.border { border: 2px solid #30038e; }
.transparent { background-color: rgb(48 3 142 / 50%); }
.gradient { background: linear-gradient(to right, #30038e, #75038e); }
Background
Text color
Border

Similar colors

Questions

What color is #30038E?
#30038E is a dark, vivid violet, closest to the named color Dramatic Blue. It belongs to the purple family of colors.
What is the RGB value of #30038E?
The RGB value is 48, 3, 142: 48 red, 3 green and 142 blue on a 0 to 255 scale.
What is the complementary color of #30038E?
The complementary color is #618E03, found by rotating the hue 180° on the color wheel.
Is black or white text better on #30038E?
White text. Black text has a contrast ratio of 1.53:1 and white text 13.73:1. WCAG asks for at least 4.5:1 for normal text.