#781F56

Closest named color: Velvet (#750851). oklch(40.2% 0.136 347), rgb(120, 31, 86).

Aa

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

About this color

#781F56 is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.136 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.029 away. White text reads best on it, at 9.86:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.136)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.12:1
White text9.86:1

Values

HEX#781F56
RGBrgb(120, 31, 86)
HSLhsl(323, 59%, 30%)
OKLCHoklch(40.2% 0.136 347)

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 #781F56 9.86:1 AAA Lc -96.2 Preferred for body text
Black text on #781F56 2.12:1 Fails Lc 12.0 Not readable
#781F56 text on white 9.86:1 AAA Lc 91.9 Preferred for body text
#781F56 text on black 2.12:1 Fails Lc -10.5 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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FAE2EE

    oklch(93.6% 0.031 346)

  3. Step 200

    200

    #F6CBE0

    oklch(88.5% 0.055 347.3)

  4. Step 300

    300

    #F2A6CD

    oklch(81% 0.102 347.5)

  5. Step 400

    400

    #E772B4

    oklch(70.7% 0.162 347.1)

  6. Step 500

    500

    #DC44A1

    oklch(63.1% 0.208 347.1)

  7. Step 600

    600

    #C7138C

    oklch(55.6% 0.226 347)

  8. Step 700

    700

    #AB0077

    oklch(49.2% 0.207 347)

  9. Step 800

    800

    #8B0961

    oklch(42.6% 0.174 346.8)

  10. Step 900

    900 (this color)

    #781F56

    oklch(40.2% 0.136 347)

  11. Step 950

    950

    #42102E

    oklch(27% 0.085 347.4)

Export this scale for Tailwind in the Tailwind colors tool

#781F56 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)#2B39580.150
Deuteranopia (no green cones)#4549540.133
Tritanopia (no blue cones)#811C370.055
Achromatopsia (no color)#4343430.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #781F56

    #781F56

    oklch(40.2% 0.136 347)

  • #00563F

    #00563F

    oklch(40.2% 0.082 167.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #781F56

    #781F56

    oklch(40.2% 0.136 347)

  • #642A77

    #642A77

    oklch(40.2% 0.135 316.9)

  • #811C2C

    #811C2C

    oklch(40.1% 0.135 17.4)

Open the analogous palette in the generator

Split complementary

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

  • #781F56

    #781F56

    oklch(40.2% 0.136 347)

  • #235600

    #235600

    oklch(40.2% 0.122 137)

  • #005355

    #005355

    oklch(40.1% 0.068 197.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #781F56

    #781F56

    oklch(40.2% 0.136 347)

  • #4E4B00

    #4E4B00

    oklch(40.3% 0.086 107.1)

  • #005068

    #005068

    oklch(40.2% 0.077 226.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #781F56

    #781F56

    oklch(40.2% 0.136 347)

  • #614100

    #614100

    oklch(40.2% 0.084 77.1)

  • #00563F

    #00563F

    oklch(40.2% 0.082 167.3)

  • #07458F

    #07458F

    oklch(40.1% 0.136 257)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #781F56 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.