#280731

Closest named color: Very Dark Purple (#2A0134). oklch(21.3% 0.084 318.1), rgb(40, 7, 49).

Aa

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

About this color

#280731 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.084 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.015 away. White text reads best on it, at 18.02:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.16:1
White text18.02:1

Values

HEX#280731
RGBrgb(40, 7, 49)
HSLhsl(287, 75%, 11%)
OKLCHoklch(21.3% 0.084 318.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 #280731 18.02:1 AAA Lc -106.6 Preferred for body text
Black text on #280731 1.16:1 Fails Lc 0.0 Not readable
#280731 text on white 18.02:1 AAA Lc 104.3 Preferred for body text
#280731 text on black 1.16: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DCACEA

    oklch(80.8% 0.1 318.5)

  5. Step 400

    400

    #C97EE0

    oklch(70.8% 0.158 317.9)

  6. Step 500

    500

    #BA57D7

    oklch(63% 0.203 317.9)

  7. Step 600

    600

    #A636C4

    oklch(55.7% 0.22 318.2)

  8. Step 700

    700

    #8E26A9

    oklch(49.1% 0.205 318.2)

  9. Step 800

    800

    #732389

    oklch(42.7% 0.169 317.9)

  10. Step 900

    900

    #5D236E

    oklch(37.6% 0.133 317.7)

  11. Step 950

    950 (this color)

    #280731

    oklch(21.3% 0.084 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#280731 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)#0014320.081
Deuteranopia (no green cones)#0917300.071
Tritanopia (no blue cones)#280F1B0.052
Achromatopsia (no color)#1616160.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #280731

    #280731

    oklch(21.3% 0.084 318.1)

  • #071F00

    #071F00

    oklch(21.2% 0.065 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #280731

    #280731

    oklch(21.3% 0.084 318.1)

  • #190E3C

    #190E3C

    oklch(21.2% 0.084 288.1)

  • #32021F

    #32021F

    oklch(21.3% 0.084 348.8)

Open the analogous palette in the generator

Split complementary

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

  • #280731

    #280731

    oklch(21.3% 0.084 318.1)

  • #1B1A00

    #1B1A00

    oklch(21.2% 0.046 107.8)

  • #001F15

    #001F15

    oklch(21.3% 0.043 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #280731

    #280731

    oklch(21.3% 0.084 318.1)

  • #241600

    #241600

    oklch(21.3% 0.044 78.3)

  • #001E1F

    #001E1F

    oklch(21.3% 0.036 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #280731

    #280731

    oklch(21.3% 0.084 318.1)

  • #2D0F00

    #2D0F00

    oklch(21.3% 0.057 49.1)

  • #071F00

    #071F00

    oklch(21.2% 0.065 137.8)

  • #001C28

    #001C28

    oklch(21.2% 0.042 229.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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