Maroon Colors  ·  Color Library

Palettes / Colors / #200340

#200340 — Dark Vivid Purple

#200340 is a purple color we call Dark Vivid Purple, closest to the named color MidnightBlue (#191970). It belongs to the purple family.

Color name

Closest CSS keyword: midnightblue (#191970) — not an exact match. CSS midnightblue gives you #191970, a different color; use #200340 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#200340 is a cool purple color associated with luxury, creativity and mystery. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #223F03; it also sits naturally between #03043F and #3E033F. In the palettes below you can see it working alongside real color combinations from our collection.

#200340 · RGB 32, 3, 64

Download PNG swatch SVG

Color values

HEX#200340
RGB32, 3, 64
HSL269°, 91%, 13%
HSV269°, 95%, 25%
CMYK50%, 95%, 0%, 75%
XYZ1.55, 0.74, 4.91
Yxy0.74, 0.2155, 0.1030
CIE-Lab6.71, 29.02, -32.05
Hunter Lab8.62, 17.85, -29.32

RGB & CMYK percentages

Red 13% · Green 1% · Blue 25%

Cyan 50% · Magenta 95% · Yellow 0% · Key 75%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #200340 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #200340 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #200340

.text { color: #200340; }
.background { background-color: #200340; }
.border { border: 3px solid #200340; }
.text-rgb { color: rgb(32, 3, 64); }
.text-hsl { color: hsl(269, 91%, 13%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #200340; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(32, 3, 64, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #200340; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(32, 3, 64, 0.8); }

HTML: <p style="color:#200340">Text here</p> · <div style="background-color:#200340">Div content here</div>

Shades of #200340

#1E033A#1B0336#190231#16022C#16022C#140227#110222#0F011D#0C0118#0A0113

Tints of #200340

#340566#4A0792#5E09B9#720BE0#8924F5#9E4BF7#B372F8#C899FA#DFC5FC#F4ECFE

Tones of #200340

#20073B#200C37#211032#21142E#21192A#211D25

Color harmonies

Complementary — #223F03:

Analogous:

Triadic:

Contrast & accessibility

Against white text18.29:1 AAA
Against black text1.15:1 Fails

Best text color on #200340: #FFFFFF.

Semi-transparent (opacity) text on #200340

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #200340: ·

How #200340 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #131331Deuteranopia · #15172ETritanopia · #1F2623

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap dark · #212529Tailwind neutral 600 · #525252Tailwind zinc 600 · #52525B

Palettes with a similar color

These palettes use a close neighbour of #200340 rather than the exact color:

Palette 1e0342
#1E0342 · #0E46A3 · #9AC8CD · #E1F7F5
Royal Plum
#240046 · #5A189A · #FF8500 · #FFD6A5
Cosmic Ruby Garden
#E0C5F7 · #963BE3 · #7420BC · #280A42
Palette F2edd1
#F2EDD1 · #F9CB99 · #689B8A · #280A3E
Modern Ruby Whisper
#1F0C3A · #FA3745 · #FAB522 · #F77A27
Dreamy Opal
#200F41 · #772963 · #6B2E22 · #6E7423

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#1E0342#240046#280A42#280A3E#1F0C3A#200F41#2A0944#200E3A#231042#2D033B#240A34#2E073F

Browse neighbouring colors

← #20033F  ·  #200341 →

Frequently asked questions

What color is #200340?

#200340 is Dark Vivid Purple, a purple color (RGB 32, 3, 64). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #200340?

#200340 is RGB 32, 3, 64 — HSL 269°, 91%, 13% — CMYK 50%, 95%, 0%, 75%.

What colors go with #200340?

Its complement is #223F03; analogous partners are #03043F and #3E033F. It also appears in 6+ palettes in our collection.

Can I use #200340 for text?

White text on #200340 has a contrast ratio of 18.29:1 (passes WCAG AA); black text gives 1.15:1.