#462D71

Closest named color: Dark Slate Blue (#483D8B). oklch(36.4% 0.113 297.4), rgb(70, 45, 113).

Aa

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

About this color

#462D71 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.113 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.057 away. White text reads best on it, at 11.20:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.87:1
White text11.20:1

Values

HEX#462D71
RGBrgb(70, 45, 113)
HSLhsl(262, 43%, 31%)
OKLCHoklch(36.4% 0.113 297.4)

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 #462D71 11.20:1 AAA Lc -99.4 Preferred for body text
Black text on #462D71 1.87:1 Fails Lc 8.3 Not readable
#462D71 text on white 11.20:1 AAA Lc 95.6 Preferred for body text
#462D71 text on black 1.87: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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DCD3F5

    oklch(88.5% 0.047 297.5)

  4. Step 300

    300

    #C6B5F1

    oklch(80.8% 0.085 297.5)

  5. Step 400

    400

    #AA8DEA

    oklch(70.7% 0.135 297.2)

  6. Step 500

    500

    #976DE3

    oklch(63% 0.173 297.6)

  7. Step 600

    600

    #8252D1

    oklch(55.6% 0.188 297.3)

  8. Step 700

    700

    #6E41B5

    oklch(49% 0.175 297.3)

  9. Step 800

    800

    #5A3793

    oklch(42.8% 0.145 297.4)

  10. Step 900

    900 (this color)

    #462D71

    oklch(36.4% 0.113 297.4)

  11. Step 950

    950

    #2B1D44

    oklch(27% 0.071 298)

Export this scale for Tailwind in the Tailwind colors tool

#462D71 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)#0A3B730.080
Deuteranopia (no green cones)#153A6F0.074
Tritanopia (no blue cones)#3C3B4A0.088
Achromatopsia (no color)#3B3B3B0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #462D71

    #462D71

    oklch(36.4% 0.113 297.4)

  • #3B4300

    #3B4300

    oklch(36.3% 0.084 117.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #462D71

    #462D71

    oklch(36.4% 0.113 297.4)

  • #243879

    #243879

    oklch(36.4% 0.114 267.6)

  • #5C235C

    #5C235C

    oklch(36.4% 0.114 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #462D71

    #462D71

    oklch(36.4% 0.113 297.4)

  • #4F3B00

    #4F3B00

    oklch(36.4% 0.075 87.1)

  • #004C18

    #004C18

    oklch(36.3% 0.107 147.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #462D71

    #462D71

    oklch(36.4% 0.113 297.4)

  • #5F3000

    #5F3000

    oklch(36.4% 0.087 57.8)

  • #00493E

    #00493E

    oklch(36.3% 0.067 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #462D71

    #462D71

    oklch(36.4% 0.113 297.4)

  • #6E1E1A

    #6E1E1A

    oklch(36.4% 0.114 27.2)

  • #3B4300

    #3B4300

    oklch(36.3% 0.084 117.1)

  • #00474F

    #00474F

    oklch(36.4% 0.062 207.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #462D71 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.