Skip to main content

#56336F Twilight Purple

The nearest named color to #56336F is Twilight Purple (#4B3F72).

#56336F

Twilight Purple

What are the RGB, HSL, OKLCH and CMYK values of #56336F?

HEX
#56336F
RGB
rgb(86, 51, 111)
HSL
hsl(275, 37%, 32%)
OKLCH
oklch(39.2% 0.104 309)
CMYK
23, 54, 0, 56

#56336F has a contrast ratio of 10.01:1 against white and 2.10: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 → #56336F
#56336F
Same color
White
10.0AAA
Near-black
1.7Fail

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 #56336F · 10.0:1

Tints and shades of #56336F

Same hue and chroma in OKLCH, lighter to darker.

  1. #F9F2FF
  2. #E6C7FF
  3. #CAA4E9
  4. #AC86C9
  5. #8E6AAA
  6. #724E8C
  7. #56336F
  8. #3C1953
  9. #240038

Colors that go with #56336F

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

Palettes, gradients and meshes with #56336F

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

Palettes (9)

Gradients (1)

Mesh gradients (4)