#831258

Closest named color: Red Purple (#820747). oklch(41.2% 0.158 349.1), rgb(131, 18, 88).

Aa

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

About this color

#831258 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.158 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.028 away. White text reads best on it, at 9.57:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.158)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.19:1
White text9.57:1

Values

HEX#831258
RGBrgb(131, 18, 88)
HSLhsl(323, 76%, 29%)
OKLCHoklch(41.2% 0.158 349.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 #831258 9.57:1 AAA Lc -95.1 Preferred for body text
Black text on #831258 2.19:1 Fails Lc 13.3 Not readable
#831258 text on white 9.57:1 AAA Lc 90.7 Preferred for body text
#831258 text on black 2.19:1 Fails Lc -11.6 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 800.

  1. Step 50

    50

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3ED

    oklch(93.6% 0.027 348.3)

  3. Step 200

    200

    #F5CCDE

    oklch(88.5% 0.052 350)

  4. Step 300

    300

    #EFA8CA

    oklch(80.9% 0.094 349.1)

  5. Step 400

    400

    #E377AF

    oklch(70.8% 0.148 349.2)

  6. Step 500

    500

    #D74E9B

    oklch(63.1% 0.188 349.1)

  7. Step 600

    600

    #C22886

    oklch(55.5% 0.206 348.9)

  8. Step 700

    700

    #A71771

    oklch(49% 0.191 349.1)

  9. Step 800

    800 (this color)

    #831258

    oklch(41.2% 0.158 349.1)

  10. Step 900

    900

    #6E1D4C

    oklch(37.8% 0.124 349)

  11. Step 950

    950

    #41132C

    oklch(27.1% 0.078 349.9)

Export this scale for Tailwind in the Tailwind colors tool

#831258 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)#28395A0.179
Deuteranopia (no green cones)#494C560.156
Tritanopia (no blue cones)#8D07340.062
Achromatopsia (no color)#4545450.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #831258

    #831258

    oklch(41.2% 0.158 349.1)

  • #005943

    #005943

    oklch(41.2% 0.083 168.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831258

    #831258

    oklch(41.2% 0.158 349.1)

  • #6D2280

    #6D2280

    oklch(41.1% 0.159 318.7)

  • #8D0B26

    #8D0B26

    oklch(41.2% 0.158 19)

Open the analogous palette in the generator

Split complementary

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

  • #831258

    #831258

    oklch(41.2% 0.158 349.1)

  • #1C5A00

    #1C5A00

    oklch(41.1% 0.13 139.1)

  • #005659

    #005659

    oklch(41.2% 0.07 198.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831258

    #831258

    oklch(41.2% 0.158 349.1)

  • #4F4E00

    #4F4E00

    oklch(41.1% 0.089 108.9)

  • #00526E

    #00526E

    oklch(41.1% 0.082 229.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831258

    #831258

    oklch(41.2% 0.158 349.1)

  • #634400

    #634400

    oklch(41.1% 0.085 79.1)

  • #005943

    #005943

    oklch(41.2% 0.083 168.9)

  • #02449E

    #02449E

    oklch(41.1% 0.158 259.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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