#462878

Closest named color: Indigo (#4B0082). oklch(36.1% 0.13 296.6), rgb(70, 40, 120).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.83:1
White text11.44:1

Values

HEX#462878
RGBrgb(70, 40, 120)
HSLhsl(263, 50%, 31%)
OKLCHoklch(36.1% 0.13 296.6)

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 #462878 11.44:1 AAA Lc -99.7 Preferred for body text
Black text on #462878 1.83:1 Fails Lc 8.0 Not readable
#462878 text on white 11.44:1 AAA Lc 95.9 Preferred for body text
#462878 text on black 1.83: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD2FA

    oklch(88.4% 0.055 296.7)

  4. Step 300

    300

    #C6B4F9

    oklch(80.9% 0.098 296.1)

  5. Step 400

    400

    #AB89F5

    oklch(70.6% 0.156 296.7)

  6. Step 500

    500

    #9867F1

    oklch(63.1% 0.199 296.6)

  7. Step 600

    600

    #8449E0

    oklch(55.6% 0.217 296.6)

  8. Step 700

    700

    #7038C2

    oklch(49% 0.202 296.8)

  9. Step 800

    800

    #5B309D

    oklch(42.7% 0.167 296.7)

  10. Step 900

    900 (this color)

    #462878

    oklch(36.1% 0.13 296.6)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#462878 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)#003A7A0.088
Deuteranopia (no green cones)#0039760.088
Tritanopia (no blue cones)#3A3A4C0.100
Achromatopsia (no color)#3A3A3A0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #462878

    #462878

    oklch(36.1% 0.13 296.6)

  • #3B4200

    #3B4200

    oklch(36% 0.083 116.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #462878

    #462878

    oklch(36.1% 0.13 296.6)

  • #1E3581

    #1E3581

    oklch(36.1% 0.131 266.8)

  • #5E1C60

    #5E1C60

    oklch(36% 0.13 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #462878

    #462878

    oklch(36.1% 0.13 296.6)

  • #4E3A00

    #4E3A00

    oklch(36.1% 0.074 86.8)

  • #004C15

    #004C15

    oklch(36.3% 0.109 146.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #462878

    #462878

    oklch(36.1% 0.13 296.6)

  • #5F2F00

    #5F2F00

    oklch(36.2% 0.088 56.7)

  • #00493C

    #00493C

    oklch(36.2% 0.068 175.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #462878

    #462878

    oklch(36.1% 0.13 296.6)

  • #731313

    #731313

    oklch(36.2% 0.13 26.7)

  • #3B4200

    #3B4200

    oklch(36% 0.083 116.3)

  • #00464E

    #00464E

    oklch(36% 0.062 207.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #462878 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.