#401760

Closest named color: Royal Purple (#4B006E). oklch(30.9% 0.124 306), rgb(64, 23, 96).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.50:1
White text13.91:1

Values

HEX#401760
RGBrgb(64, 23, 96)
HSLhsl(274, 61%, 23%)
OKLCHoklch(30.9% 0.124 306)

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 #401760 13.91:1 AAA Lc -103.1 Preferred for body text
Black text on #401760 1.50:1 Fails Lc 0.0 Not readable
#401760 text on white 13.91:1 AAA Lc 100.0 Preferred for body text
#401760 text on black 1.50: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 950.

  1. Step 50

    50

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F0E4FF

    oklch(93.6% 0.038 305.7)

  3. Step 200

    200

    #E5CEFF

    oklch(88.6% 0.071 306.3)

  4. Step 300

    300

    #D4ACFF

    oklch(80.9% 0.121 305.9)

  5. Step 400

    400

    #BF7AFF

    oklch(70.7% 0.195 306)

  6. Step 500

    500

    #B04BFF

    oklch(63% 0.254 305.9)

  7. Step 600

    600

    #9E00F3

    oklch(55.5% 0.287 305.9)

  8. Step 700

    700

    #8600CE

    oklch(49.2% 0.254 306.1)

  9. Step 800

    800

    #6E00AB

    oklch(42.7% 0.221 305.9)

  10. Step 900

    900

    #5C0090

    oklch(37.7% 0.195 306)

  11. Step 950

    950 (this color)

    #401760

    oklch(30.9% 0.124 306)

Export this scale for Tailwind in the Tailwind colors tool

#401760 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)#002B620.097
Deuteranopia (no green cones)#002C5E0.098
Tritanopia (no blue cones)#3A283A0.087
Achromatopsia (no color)#2C2C2C0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #401760

    #401760

    oklch(30.9% 0.124 306)

  • #263700

    #263700

    oklch(31% 0.079 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401760

    #401760

    oklch(30.9% 0.124 306)

  • #23236D

    #23236D

    oklch(30.9% 0.125 276.2)

  • #530A47

    #530A47

    oklch(30.9% 0.124 336.2)

Open the analogous palette in the generator

Split complementary

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

  • #401760

    #401760

    oklch(30.9% 0.124 306)

  • #3A3000

    #3A3000

    oklch(31.1% 0.064 96.5)

  • #003B1F

    #003B1F

    oklch(31% 0.076 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401760

    #401760

    oklch(30.9% 0.124 306)

  • #472800

    #472800

    oklch(31% 0.069 66.5)

  • #003934

    #003934

    oklch(31% 0.055 185.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401760

    #401760

    oklch(30.9% 0.124 306)

  • #5A1300

    #5A1300

    oklch(31% 0.106 35.9)

  • #263700

    #263700

    oklch(31% 0.079 126.3)

  • #003742

    #003742

    oklch(31% 0.055 215.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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