Skip to main content

#4A3876 Twilight Purple

#4A3876 is Twilight Purple.

#4A3876

Twilight Purple

What are the RGB, HSL, OKLCH and CMYK values of #4A3876?

HEX
#4A3876
RGB
rgb(74, 56, 118)
HSL
hsl(257, 36%, 34%)
OKLCH
oklch(39.2% 0.102 295)
CMYK
37, 53, 0, 54

#4A3876 has a contrast ratio of 9.91:1 against white and 2.12: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 → #4A3876
#4A3876
Same color
White
9.9AAA
Near-black
1.8Fail

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 #4A3876 · 9.9:1

Tints and shades of #4A3876

Same hue and chroma in OKLCH, lighter to darker.

  1. #F5F3FF
  2. #D8CDFF
  3. #BBAAF2
  4. #9D8CD2
  5. #806FB2
  6. #645394
  7. #4A3876
  8. #321E5A
  9. #1C033E

Colors that go with #4A3876

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. No two swatches become hard to tell apart here.

Export

Copy-paste code, or download the swatches.

:root {
  --twilight-purple-1: #4A3876; /* Twilight Purple */
}

Palettes, gradients and meshes with #4A3876

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

Palettes (18)

Gradients (2)

Mesh gradients (6)