#462871

Closest named color: Royal Purple (#4B006E). oklch(35.6% 0.121 299.1), rgb(70, 40, 113).

Aa

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

About this color

#462871 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.121 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.060 away. White text reads best on it, at 11.65:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.80:1
White text11.65:1

Values

HEX#462871
RGBrgb(70, 40, 113)
HSLhsl(265, 48%, 30%)
OKLCHoklch(35.6% 0.121 299.1)

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 #462871 11.65:1 AAA Lc -100.1 Preferred for body text
Black text on #462871 1.80:1 Fails Lc 7.5 Not readable
#462871 text on white 11.65:1 AAA Lc 96.4 Preferred for body text
#462871 text on black 1.80: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

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DDD2F7

    oklch(88.4% 0.052 298.9)

  4. Step 300

    300

    #C8B4F4

    oklch(80.9% 0.091 298.7)

  5. Step 400

    400

    #AE8AEE

    oklch(70.7% 0.146 299.2)

  6. Step 500

    500

    #9B69E8

    oklch(63.1% 0.186 299.2)

  7. Step 600

    600

    #864CD6

    oklch(55.5% 0.202 299)

  8. Step 700

    700

    #723CB9

    oklch(49% 0.187 299.2)

  9. Step 800

    800

    #5D3396

    oklch(42.7% 0.155 299.2)

  10. Step 900

    900 (this color)

    #462871

    oklch(35.6% 0.121 299.1)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#462871 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)#0038730.089
Deuteranopia (no green cones)#0A386F0.085
Tritanopia (no blue cones)#3C38480.093
Achromatopsia (no color)#3838380.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #462871

    #462871

    oklch(35.6% 0.121 299.1)

  • #374200

    #374200

    oklch(35.6% 0.084 119.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #462871

    #462871

    oklch(35.6% 0.121 299.1)

  • #23347A

    #23347A

    oklch(35.5% 0.121 269.1)

  • #5C1D5A

    #5C1D5A

    oklch(35.5% 0.122 329.1)

Open the analogous palette in the generator

Split complementary

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

  • #462871

    #462871

    oklch(35.6% 0.121 299.1)

  • #4B3900

    #4B3900

    oklch(35.4% 0.072 88.8)

  • #00491B

    #00491B

    oklch(35.4% 0.1 149)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #462871

    #462871

    oklch(35.6% 0.121 299.1)

  • #5B2F00

    #5B2F00

    oklch(35.5% 0.084 59.4)

  • #00473D

    #00473D

    oklch(35.6% 0.065 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #462871

    #462871

    oklch(35.6% 0.121 299.1)

  • #6E1811

    #6E1811

    oklch(35.7% 0.121 29.2)

  • #374200

    #374200

    oklch(35.6% 0.084 119.8)

  • #00444D

    #00444D

    oklch(35.4% 0.061 209.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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