Find Color Codes

Dark Purple Color Codes

Dark Purple is a very dark, muted purple with the hex code #301934, RGB values of 48, 25, 52 and an HSL value of hsl(291, 35%, 15%).

HEX#301934
RGB48, 25, 52
HSLhsl(291, 35%, 15%)
HSV291°, 52%, 20%
CMYK8%, 52%, 0%, 80%
LAB13.06, 16.95, -13.11
CIELCHuv13.06, 14.99, 300.35°
Nearest Pantone
PMS 276 C ΔE 9.7 · approximate
Nearest CSS name
black ΔE 25.1

Source Wikipedia, List of colors (cites ISCC-NBS)

Dark Purple Color Hex Code

The Dark Purple color hex code is #301934. Those six digits are three pairs, 30 for red, 19 for green and 34 for blue, which is the same triplet a browser reads from the CSS value below.

#301934

Dark Purple Color RGB Code

The Dark Purple RGB code is rgb(48, 25, 52). Blue carries the most light at 52 of 255, which is what puts this color where it sits on the wheel.

rgb(48, 25, 52)

Dark Purple Color HSV Code

The Dark Purple HSV code is 291°, 52%, 20%. Read it as a hue of 291 degrees, 52% saturation and 20% value, which is the form most color pickers use because moving one number changes one thing.

291°, 52%, 20%

Dark Purple Color CIELChuv Code

The Dark Purple CIELCHuv code is 13.06, 14.99, 300.35°. Unlike hex or RGB this one is perceptual: lightness 13 means dark to the eye rather than to the screen, and chroma 15 is how far it sits from grey.

13.06, 14.99, 300.35°

Tonal scale

What are Dark Purple Color Palettes?

A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.

Shades, toward black

Tints, toward white

Tones, toward grey

Open in the shades & tints generator →

Palettes

What are Dark Purple Color Palette Codes?

Each of these is a hue rotation from #301934. They are generated, not curated, so they are exact.

Complementary

Half a turn away is #1D3419, a very dark, muted green. This is the widest separation the wheel offers, and the reason complementary pairs are the default for anything that must stand out. Neither is especially saturated, so this pairing stays calm enough for large areas of both.

Analogous

Either side sit #231934 and #34192B, 30 degrees out. Low tension by construction: useful when you need several related tones that still feel like one choice.

Triadic

#343019 and #193430 complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.

Split-complementary

Instead of the direct complement, this takes the two hues either side of it: #2B3419 and #193423. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.

Tetradic

Two complementary pairs forming a rectangle: this base with #1D3419, and #342319 with #192B34. The richest of the five and the hardest to balance, so treat this base as the lead and hold the other three well back.

See these on the color wheel →

Accessibility

Contrast checker: is Dark Purple accessible?

Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.

White background

15.98:1

15.98

contrast ratio on white background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Passes Passes
Large text needs 3:1 / 4.5:1 Passes Passes
UI component needs 3:1 Passes n/a

Black background

1.31:1

1.31

contrast ratio on black background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Fails Fails
Large text needs 3:1 / 4.5:1 Fails Fails
UI component needs 3:1 Fails n/a

Dark Purple clears WCAG AA against white at 15.98:1, so it is safe for body copy as well as headings. Text placed on it should be white, which gives 15.98:1.

Color vision

How Dark Purple looks with color blindness

Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.

Protanopia

About 1% of men
actual

#28282F

Dark Purple shifts noticeably here. ΔE 17.7

No working red cones. Reds darken sharply and drift toward the same muddy olive as green.

Deuteranopia

About 1% of men
actual

#292A2E

Dark Purple shifts noticeably here. ΔE 19.8

No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.

Tritanopia

About 1 in 10,000
actual

#2F2B29

Dark Purple shifts noticeably here. ΔE 22.2

No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.

Achromatopsia

About 1 in 30,000
actual

#222222

Dark Purple shifts noticeably here. ΔE 21.4

No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.

To a deuteranope, the most common form, Dark Purple reads as #292A2E. That is a shift of ΔE 19.8, so it is a different color to roughly one man in sixteen. The widest shift is under tritanopia, at ΔE 22.2. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.

Snippets

Using Dark Purple in code

:root {
  --dark-purple: #301934;
}

.example {
  color: var(--dark-purple);
}