#412E56

Closest named color: Space Cadet (#2B2D42). oklch(34.2% 0.071 304.8), rgb(65, 46, 86).

Aa

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

About this color

#412E56 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.071 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.055 away. White text reads best on it, at 12.00:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.74:1
White text12.00:1

Values

HEX#412E56
RGBrgb(65, 46, 86)
HSLhsl(268, 30%, 26%)
OKLCHoklch(34.2% 0.071 304.8)

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 #412E56 12.00:1 AAA Lc -100.9 Preferred for body text
Black text on #412E56 1.74:1 Fails Lc 0.0 Not readable
#412E56 text on white 12.00:1 AAA Lc 97.4 Preferred for body text
#412E56 text on black 1.74: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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE7F2

    oklch(93.5% 0.016 306.4)

  3. Step 200

    200

    #DDD5E9

    oklch(88.5% 0.028 303.9)

  4. Step 300

    300

    #C8B8DD

    oklch(80.8% 0.054 304.8)

  5. Step 400

    400

    #AD93CC

    oklch(70.7% 0.086 305.1)

  6. Step 500

    500

    #9978BF

    oklch(63.2% 0.11 304.8)

  7. Step 600

    600

    #8360AB

    oklch(55.6% 0.118 304.4)

  8. Step 700

    700

    #6F4F93

    oklch(49.2% 0.11 304.4)

  9. Step 800

    800

    #5B4177

    oklch(42.8% 0.091 305.1)

  10. Step 900

    900 (this color)

    #412E56

    oklch(34.2% 0.071 304.8)

  11. Step 950

    950

    #2B2138

    oklch(27% 0.044 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#412E56 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)#2436570.051
Deuteranopia (no green cones)#2937550.046
Tritanopia (no blue cones)#3E353E0.054
Achromatopsia (no color)#3636360.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #412E56

    #412E56

    oklch(34.2% 0.071 304.8)

  • #303F10

    #303F10

    oklch(34.3% 0.072 125.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #412E56

    #412E56

    oklch(34.2% 0.071 304.8)

  • #2E355D

    #2E355D

    oklch(34.3% 0.071 274.6)

  • #4F2947

    #4F2947

    oklch(34.2% 0.072 335.3)

Open the analogous palette in the generator

Split complementary

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

  • #412E56

    #412E56

    oklch(34.2% 0.071 304.8)

  • #443700

    #443700

    oklch(34.1% 0.07 94.2)

  • #124327

    #124327

    oklch(34.2% 0.072 154.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #412E56

    #412E56

    oklch(34.2% 0.071 304.8)

  • #512F07

    #512F07

    oklch(34.1% 0.071 64.3)

  • #00423C

    #00423C

    oklch(34.1% 0.06 184.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #412E56

    #412E56

    oklch(34.2% 0.071 304.8)

  • #57291E

    #57291E

    oklch(34.1% 0.071 34.6)

  • #303F10

    #303F10

    oklch(34.3% 0.072 125.2)

  • #00404C

    #00404C

    oklch(34.2% 0.06 215.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #412E56 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.