Skip to main content

#21003B Deep Purple

The nearest named color to #21003B is Deep Purple (#36013F).

#21003B

Deep Purple

What are the RGB, HSL, OKLCH and CMYK values of #21003B?

HEX
#21003B
RGB
rgb(33, 0, 59)
HSL
hsl(274, 100%, 12%)
OKLCH
oklch(20.0% 0.105 304)
CMYK
44, 100, 0, 77

#21003B has a contrast ratio of 18.62:1 against white and 1.13:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #21003B
#21003B
Same color
White
18.6AAA
Near-black
1.1Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #21003B · 18.6:1

Tints and shades of #21003B

Same hue and chroma in OKLCH, lighter to darker.

  1. #F7F2FF
  2. #E0CAFF
  3. #C5A6ED
  4. #A688CD
  5. #896BAE
  6. #6D5090
  7. #523573
  8. #391A56
  9. #21003B

Colors that go with #21003B

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Deep Purple, #21003B and Midnight Blue, #05005C; Byzantium, #64005E and Oxford Blue, #00285C; Midnight Blue, #05005C and Oxford Blue, #00285C become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --deep-purple-1: #21003B; /* Deep Purple */
}

Palettes, gradients and meshes with #21003B

Items using this color or one perceptually close to it, closest first.

Palettes (15)

Gradients (2)

Mesh gradients (5)