Persian Indigo (#32127A)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 13.97:1 — vs black: 1.50:1

Color values

  • HEX #32127A
  • RGB rgb(50, 18, 122)
  • HSL hsl(258, 85%, 47%)
  • CMYK cmyk( 59.02, 85.25, 0, 52.16 )
  • Websafe #330066

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #32127A based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Persian Indigo
#32127A Base
#5A7A12
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Persian Indigo
#32127A Base
#12267A
#66127A
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Persian Indigo
#32127A Base
#7A3212
#127A32
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Persian Indigo
#32127A Base
#7A6612
#267A12
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Persian Indigo
#32127A Base
#7A1226
#5A7A12
#127A66
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Persian Indigo
#32127A Base
#090316
#170837
#230D56
#41179E
#4D1CBD
#7342E3
Shades & Tints

Darker shades and lighter tints of Persian Indigo, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#090316
#11062A
#19093E
#220C52
#2A0F66
Persian Indigo #32127A Base
#4B1BB6
#6A35E1
#9671EA
#C2ADF3
#EFE9FC
CSS & SCSS Snippets

Ready-to-use code snippets for #32127A. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #32127A;
}

/* Text */
.element {
    color: #32127A;
}

/* Border */
.element {
    border: 1px solid #32127A;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #32127A,
        #A2E212
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #32127A,
        #A2E212
    );
}
SCSS Variable
// SCSS variable
$persian-indigo: #32127A;

// With RGB channels (useful for rgba() usage)
$persian-indigo-r: 50;
$persian-indigo-g: 18;
$persian-indigo-b: 122;

// Usage
.element {
    background-color: $persian-indigo;
    color: rgba($persian-indigo-r, $persian-indigo-g, $persian-indigo-b, 0.8);
}
Color Blindness Simulation

How Persian Indigo appears to people with different types of color vision deficiency.

Normal Vision #32127A How the color appears with full color vision.
Deuteranopia #1F1F7A Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #18187A Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #143030 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #2C2C2C Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Persian Indigo ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Persian Indigo #32127A Base
Deep Violet #330066 ΔE 4.25
Midnight Blue #191970 ΔE 4.33
Ultramarine #120A8F ΔE 4.52
Indigo #4B0082 ΔE 4.53

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.