#582151

Closest named color: Grape Purple (#5D1451). oklch(34.8% 0.104 332.8), rgb(88, 33, 81).

Aa

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

About this color

#582151 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.104 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.025 away. White text reads best on it, at 11.99:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.75:1
White text11.99:1

Values

HEX#582151
RGBrgb(88, 33, 81)
HSLhsl(308, 45%, 24%)
OKLCHoklch(34.8% 0.104 332.8)

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 #582151 11.99:1 AAA Lc -100.6 Preferred for body text
Black text on #582151 1.75:1 Fails Lc 0.0 Not readable
#582151 text on white 11.99:1 AAA Lc 96.9 Preferred for body text
#582151 text on black 1.75: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5F0

    oklch(93.7% 0.022 334.9)

  3. Step 200

    200

    #EBCFE6

    oklch(88.5% 0.044 331.9)

  4. Step 300

    300

    #E0AED7

    oklch(80.9% 0.079 332.6)

  5. Step 400

    400

    #CE82C2

    oklch(70.6% 0.125 332.7)

  6. Step 500

    500

    #C060B3

    oklch(63.1% 0.16 332.6)

  7. Step 600

    600

    #AB439E

    oklch(55.6% 0.174 332.8)

  8. Step 700

    700

    #933487

    oklch(49.1% 0.161 333.1)

  9. Step 800

    800

    #772C6E

    oklch(42.7% 0.134 332.6)

  10. Step 900

    900 (this color)

    #582151

    oklch(34.8% 0.104 332.8)

  11. Step 950

    950

    #391934

    oklch(27.1% 0.065 333.4)

Export this scale for Tailwind in the Tailwind colors tool

#582151 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)#1F31530.108
Deuteranopia (no green cones)#3139500.093
Tritanopia (no blue cones)#5C25350.054
Achromatopsia (no color)#3737370.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #582151

    #582151

    oklch(34.8% 0.104 332.8)

  • #004722

    #004722

    oklch(34.9% 0.09 152.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #582151

    #582151

    oklch(34.8% 0.104 332.8)

  • #452966

    #452966

    oklch(34.8% 0.104 302.5)

  • #631C35

    #631C35

    oklch(34.8% 0.104 2.7)

Open the analogous palette in the generator

Split complementary

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

  • #582151

    #582151

    oklch(34.8% 0.104 332.8)

  • #324100

    #324100

    oklch(34.9% 0.086 123.1)

  • #00443D

    #00443D

    oklch(34.7% 0.062 183.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #582151

    #582151

    oklch(34.8% 0.104 332.8)

  • #473900

    #473900

    oklch(34.9% 0.072 93.4)

  • #00424D

    #00424D

    oklch(34.8% 0.061 213.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #582151

    #582151

    oklch(34.8% 0.104 332.8)

  • #562F00

    #562F00

    oklch(34.8% 0.079 63.1)

  • #004722

    #004722

    oklch(34.9% 0.09 152.9)

  • #003E62

    #003E62

    oklch(34.9% 0.084 242.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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