Skip to main content

#4A3877 Twilight Purple

#4A3877 is Twilight Purple.

#4A3877

Twilight Purple

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

HEX
#4A3877
RGB
rgb(74, 56, 119)
HSL
hsl(257, 36%, 34%)
OKLCH
oklch(39.3% 0.104 294)
CMYK
38, 53, 0, 53

#4A3877 has a contrast ratio of 9.89: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 → #4A3877
#4A3877
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 #4A3877 · 9.9:1

Tints and shades of #4A3877

Same hue and chroma in OKLCH, lighter to darker.

  1. #F5F3FF
  2. #D7CDFF
  3. #BAAAF3
  4. #9C8CD2
  5. #806FB3
  6. #645395
  7. #4A3877
  8. #321E5A
  9. #1C023F

Colors that go with #4A3877

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: #4A3877; /* Twilight Purple */
}

Palettes, gradients and meshes with #4A3877

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

Palettes (18)

Gradients (2)

Mesh gradients (6)