#412178

Closest named color: Indigo (#4B0082). oklch(34.5% 0.139 294.9), rgb(65, 33, 120).

Aa

White text reads best on this color (12.25:1).

About this color

#412178 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.139 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.045 away. White text reads best on it, at 12.25:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.71:1
White text12.25:1

Values

HEX#412178
RGBrgb(65, 33, 120)
HSLhsl(262, 57%, 30%)
OKLCHoklch(34.5% 0.139 294.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #412178 12.25:1 AAA Lc -100.9 Preferred for body text
Black text on #412178 1.71:1 Fails Lc 0.0 Not readable
#412178 text on white 12.25:1 AAA Lc 97.3 Preferred for body text
#412178 text on black 1.71:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FD

    oklch(93.6% 0.031 295.8)

  3. Step 200

    200

    #DBD2FC

    oklch(88.4% 0.058 295)

  4. Step 300

    300

    #C5B3FD

    oklch(80.8% 0.104 295.1)

  5. Step 400

    400

    #A988FD

    oklch(70.7% 0.168 294.7)

  6. Step 500

    500

    #9664FA

    oklch(63% 0.214 294.9)

  7. Step 600

    600

    #8244E9

    oklch(55.5% 0.232 294.8)

  8. Step 700

    700

    #6F34CB

    oklch(49.2% 0.216 294.9)

  9. Step 800

    800

    #5A2DA4

    oklch(42.7% 0.179 294.9)

  10. Step 900

    900 (this color)

    #412178

    oklch(34.5% 0.139 294.9)

  11. Step 950

    950

    #2B1A4C

    oklch(27% 0.089 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#412178 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#00367B0.086
Deuteranopia (no green cones)#0034760.085
Tritanopia (no blue cones)#32374A0.109
Achromatopsia (no color)#3535350.140

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #412178

    #412178

    oklch(34.5% 0.139 294.9)

  • #383D00

    #383D00

    oklch(34.3% 0.078 114.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #412178

    #412178

    oklch(34.5% 0.139 294.9)

  • #143080

    #143080

    oklch(34.5% 0.139 265)

  • #5A1360

    #5A1360

    oklch(34.5% 0.139 324.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #412178

    #412178

    oklch(34.5% 0.139 294.9)

  • #4A3600

    #4A3600

    oklch(34.6% 0.071 85.5)

  • #00470D

    #00470D

    oklch(34.6% 0.109 144.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #412178

    #412178

    oklch(34.5% 0.139 294.9)

  • #5A2B00

    #5A2B00

    oklch(34.6% 0.085 55.3)

  • #004437

    #004437

    oklch(34.5% 0.065 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #412178

    #412178

    oklch(34.5% 0.139 294.9)

  • #71010E

    #71010E

    oklch(34.6% 0.139 24.8)

  • #383D00

    #383D00

    oklch(34.3% 0.078 114.8)

  • #004248

    #004248

    oklch(34.6% 0.059 205)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #412178, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #412178 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.