#581F74

Closest named color: Royal Purple (#4B006E). oklch(36.9% 0.143 312.2), rgb(88, 31, 116).

Aa

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

About this color

#581F74 is a dark, vivid purple. In OKLCH its lightness is 37%, its chroma 0.143 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.053 away. White text reads best on it, at 11.27:1.

Hue familyPurples
Lightnessdark (37%)
Chromavivid (0.143)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.86:1
White text11.27:1

Values

HEX#581F74
RGBrgb(88, 31, 116)
HSLhsl(280, 58%, 29%)
OKLCHoklch(36.9% 0.143 312.2)

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 #581F74 11.27:1 AAA Lc -99.1 Preferred for body text
Black text on #581F74 1.86:1 Fails Lc 8.6 Not readable
#581F74 text on white 11.27:1 AAA Lc 95.3 Preferred for body text
#581F74 text on black 1.86:1 Fails Lc -7.4 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4F9

    oklch(93.5% 0.031 312.9)

  3. Step 200

    200

    #E7CEF6

    oklch(88.4% 0.06 312.9)

  4. Step 300

    300

    #D8ADF3

    oklch(81% 0.107 312)

  5. Step 400

    400

    #C47DEC

    oklch(70.7% 0.171 312.3)

  6. Step 500

    500

    #B555E6

    oklch(63.1% 0.219 312.3)

  7. Step 600

    600

    #A131D4

    oklch(55.7% 0.238 312.4)

  8. Step 700

    700

    #8920B8

    oklch(49% 0.221 312)

  9. Step 800

    800

    #701F95

    oklch(42.8% 0.183 312.3)

  10. Step 900

    900 (this color)

    #581F74

    oklch(36.9% 0.143 312.2)

  11. Step 950

    950

    #351545

    oklch(26.9% 0.09 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#581F74 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)#0038760.127
Deuteranopia (no green cones)#163C720.118
Tritanopia (no blue cones)#5531470.095
Achromatopsia (no color)#3B3B3B0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #581F74

    #581F74

    oklch(36.9% 0.143 312.2)

  • #294A00

    #294A00

    oklch(36.9% 0.103 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #581F74

    #581F74

    oklch(36.9% 0.143 312.2)

  • #382D87

    #382D87

    oklch(36.8% 0.144 282.3)

  • #6D1154

    #6D1154

    oklch(36.9% 0.143 342)

Open the analogous palette in the generator

Split complementary

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

  • #581F74

    #581F74

    oklch(36.9% 0.143 312.2)

  • #484000

    #484000

    oklch(36.8% 0.077 101.4)

  • #004C32

    #004C32

    oklch(36.8% 0.081 162.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #581F74

    #581F74

    oklch(36.9% 0.143 312.2)

  • #583700

    #583700

    oklch(36.7% 0.079 72.2)

  • #004A48

    #004A48

    oklch(37% 0.064 191.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #581F74

    #581F74

    oklch(36.9% 0.143 312.2)

  • #6D2500

    #6D2500

    oklch(36.9% 0.111 42.2)

  • #294A00

    #294A00

    oklch(36.9% 0.103 132.4)

  • #004759

    #004759

    oklch(36.9% 0.068 221.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #581F74 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.